diff options
author | Laurent Bachelier <laurent@bachelier.name> | 2020-01-22 23:25:24 +0100 |
---|---|---|
committer | Laurent Bachelier <laurent@bachelier.name> | 2020-01-22 23:25:24 +0100 |
commit | 12415f464ee00862103f9e56e65d59d5a08ccb9a (patch) | |
tree | e95bbc1b84a1fd73a62bca45a6762e501ecbb66d | |
parent | Release 0.2.0 (diff) | |
download | confman-12415f464ee00862103f9e56e65d59d5a08ccb9a.tar.xz |
Python 3 compatibility
-rw-r--r-- | confman.py | 4 | ||||
-rwxr-xr-x | setup.py | 5 |
2 files changed, 6 insertions, 3 deletions
@@ -422,8 +422,8 @@ class ConfigSource(object): """ Iterates over all analyzed files. """ - for files in self.tree.itervalues(): - for f in files.itervalues(): + for files in self.tree.values(): + for f in files.values(): yield f def __repr__(self): @@ -14,7 +14,10 @@ setup( py_modules=['confman'], classifiers=[ 'License :: OSI Approved :: MIT License', - 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', ], ) |