diff options
Diffstat (limited to 'libbe/command/new.py')
-rw-r--r-- | libbe/command/new.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/command/new.py b/libbe/command/new.py index 33ede50..b9a3147 100644 --- a/libbe/command/new.py +++ b/libbe/command/new.py @@ -120,7 +120,7 @@ class New (libbe.command.Command): if params['bugdir']: bugdir = bugdirs[params['bugdir']] elif len(bugdirs) == 1: - bugdir = bugdirs.values()[0] + bugdir = list(bugdirs.values())[0] else: raise libbe.command.UserError( 'Ambiguous bugdir {}'.format(sorted(bugdirs.values()))) |