summaryrefslogtreecommitdiff
path: root/run_weak.py
AgeCommit message (Collapse)AuthorLines
2021-10-08Replace the deprecated .iteritems() with .items()João Dinis Ferreira-2/+2
The `.iteritems()` method was [removed](https://docs.python.org/3/library/2to3.html#2to3fixer-dict) in Python 3. The direct replacement is `.items()` (which is backwards-compatible with Python 2). This change means that the execution scripts `run_*.py` fail on Python 3. This commit provides Python 3 compatibility without compromising Python 2 execution. See, for reference: - https://github.com/saltstack-formulas/openssh-formula/issues/48 - https://stackoverflow.com/questions/10458437/what-is-the-difference-between-dict-items-and-dict-iteritems-in-python2
2021-06-16PrIM -- first commitJuan Gomez Luna-0/+173