diff options
author | W. Trevor King <wking@drexel.edu> | 2009-09-23 10:07:38 -0400 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-09-23 10:07:38 -0400 |
commit | b910115f83a697cef38dd91c76b40c3a49954044 (patch) | |
tree | 1d24ada45be15d1cefe56bd87fcffa5e3465a5dd /libbe/cmdutil.py | |
parent | 81e7026c78c0a8426a7186df292c0713e70f9539 (diff) | |
download | bugseverywhere-b910115f83a697cef38dd91c76b40c3a49954044.tar.gz |
Fixed bugdir name collision in cmdutil.bug_from_shortname()
Diffstat (limited to 'libbe/cmdutil.py')
-rw-r--r-- | libbe/cmdutil.py | 4 |
1 files 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 |