diff options
Diffstat (limited to 'becommands/upgrade.py')
-rw-r--r-- | becommands/upgrade.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/becommands/upgrade.py b/becommands/upgrade.py index 8f7c3a4..f5b12ef 100644 --- a/becommands/upgrade.py +++ b/becommands/upgrade.py @@ -18,7 +18,6 @@ import os.path import errno from libbe import bugdir, rcs, cmdutil -from libbe.bug import Bug def execute(args): options, args = get_parser().parse_args(args) @@ -26,7 +25,7 @@ def execute(args): for uuid in root.list_uuids(): old_bug = OldBug(root.bugs_path, uuid) - new_bug = Bug(root.bugs_path, None) + new_bug = root.get_bug(uuid) new_bug.uuid = old_bug.uuid new_bug.summary = old_bug.summary new_bug.creator = old_bug.creator |