Skip to content

Commit 8a55b99

Browse files
author
Elvis Dowson
committed
scripts/run.py: Python 3: Refactor to use dict.values() instead of dict.itervalues().
itervalues() was removed in python3, so you can't use this method anymore. Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com>
1 parent babe218 commit 8a55b99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def getArgParser(prog):
202202

203203

204204
# Add subcommands
205-
for v in globals().itervalues():
205+
for v in globals().values():
206206
if(isinstance(v, type) and
207207
issubclass(v, Subcommand) and
208208
v != Subcommand):

0 commit comments

Comments
 (0)