saltstack-formulas / php-formula

http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
57 stars 231 forks source link

Deprecated iteritems() method not forward-compatible with Python 3 #57

Closed xenophonf closed 5 years ago

xenophonf commented 9 years ago

Formulas iterating over dictionaries should use the items() method instead of iteritems() because the latter method has been removed from Python 3. While the items() method in Python 2 uses more memory than iteritems(), these dictionaries are typically small (e.g., sets of settings from Pillar).

n-rodriguez commented 5 years ago

Closing it since it's fixed :)