diff options
author | Aaron Bentley <abentley@panoramicfeedback.com> | 2005-05-17 14:36:31 +0000 |
---|---|---|
committer | Aaron Bentley <abentley@panoramicfeedback.com> | 2005-05-17 14:36:31 +0000 |
commit | 336a51ada68f4d30684bed29df155ec73fbd7375 (patch) | |
tree | 09fc8a0e33e71c004bad935e85f2e1b77c56ad49 /libbe/cmdutil.py | |
parent | 633cb7e0f854c4479376a9a1200e9af499d27b1d (diff) | |
download | bugseverywhere-336a51ada68f4d30684bed29df155ec73fbd7375.tar.gz |
Forced be to show minimum 3 digits, because 3 is common.
Diffstat (limited to 'libbe/cmdutil.py')
-rw-r--r-- | libbe/cmdutil.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libbe/cmdutil.py b/libbe/cmdutil.py index 8268a1d..24eab64 100644 --- a/libbe/cmdutil.py +++ b/libbe/cmdutil.py @@ -27,6 +27,8 @@ def unique_name(bug, bugs): continue while (bug.uuid[:chars] == some_bug.uuid[:chars]): chars+=1 + if chars < 3: + chars = 3 return bug.uuid[:chars] class UserError(Exception): |