We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(acipy37) [root@localhost testharness]# python apic_test_harness.py --directory ../snapback/apic-config-db/ Traceback (most recent call last): File "apic_test_harness.py", line 161, in session = FakeSession(filenames) File "/root/aciprog/aci_ansible_learning_labs_code_samples/acipy37/lib/python3.7/site-packages/acitoolkit-0.4-py3.7.egg/acitoolkit/acifakeapic.py", line 100, in init File "/root/aciprog/aci_ansible_learning_labs_code_samples/acipy37/lib/python3.7/site-packages/acitoolkit-0.4-py3.7.egg/acitoolkit/acifakeapic.py", line 288, in _fill_data AttributeError: 'dict' object has no attribute 'iteritems' (acipy37) [root@localhost testharness]#
The text was updated successfully, but these errors were encountered:
This is could be due to iteritems being removed in Python3:
Remove dict.iteritems(), dict.iterkeys(), and dict.itervalues(). Instead: use dict.items(), dict.keys(), and dict.values() respectively.
https://wiki.python.org/moin/Python3.0#Built-In_Changes
Sorry, something went wrong.
No branches or pull requests
(acipy37) [root@localhost testharness]# python apic_test_harness.py --directory ../snapback/apic-config-db/
Traceback (most recent call last):
File "apic_test_harness.py", line 161, in
session = FakeSession(filenames)
File "/root/aciprog/aci_ansible_learning_labs_code_samples/acipy37/lib/python3.7/site-packages/acitoolkit-0.4-py3.7.egg/acitoolkit/acifakeapic.py", line 100, in init
File "/root/aciprog/aci_ansible_learning_labs_code_samples/acipy37/lib/python3.7/site-packages/acitoolkit-0.4-py3.7.egg/acitoolkit/acifakeapic.py", line 288, in _fill_data
AttributeError: 'dict' object has no attribute 'iteritems'
(acipy37) [root@localhost testharness]#
The text was updated successfully, but these errors were encountered: