JunxiongGuan / nvmetcli

mirror of http://git.infradead.org/users/hch/nvmetcli.git
Apache License 2.0
19 stars 8 forks source link

nvmet: Fixed 'iteritems' attribute error. #2

Closed wawryk closed 7 months ago

wawryk commented 3 years ago

Using nvmetcli with python 3.x there is error: AttributeError: 'dict' object has no attribute 'iteritems'. Changing 'iteritems' to 'items' works fine.