From b910115f83a697cef38dd91c76b40c3a49954044 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 23 Sep 2009 10:07:38 -0400 Subject: [PATCH] Fixed bugdir name collision in cmdutil.bug_from_shortname() --- libbe/cmdutil.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libbe/cmdutil.py b/libbe/cmdutil.py index 8c1c612..9b64142 100644 --- a/libbe/cmdutil.py +++ b/libbe/cmdutil.py @@ -212,12 +212,12 @@ def underlined(instring): return "%s\n%s" % (instring, "="*len(instring)) -def bug_from_shortname(bugdir, shortname): +def bug_from_shortname(bdir, shortname): """ Exception translation for the command-line interface. """ try: - bug = bugdir.bug_from_shortname(shortname) + bug = bdir.bug_from_shortname(shortname) except (bugdir.MultipleBugMatches, bugdir.NoBugMatches), e: raise UserError(e.message) return bug -- 2.26.2