From 336a51ada68f4d30684bed29df155ec73fbd7375 Mon Sep 17 00:00:00 2001 From: Aaron Bentley Date: Tue, 17 May 2005 14:36:31 +0000 Subject: [PATCH] Forced be to show minimum 3 digits, because 3 is common. --- libbe/cmdutil.py | 2 ++ 1 file changed, 2 insertions(+) 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): -- 2.26.2