From c0de39f2588916a756c4655362b1eb99d3685212 Mon Sep 17 00:00:00 2001 From: Aaron Bentley Date: Wed, 9 Mar 2005 21:01:53 +0000 Subject: Fixed logic bug assigning pretty names --- libbe/names.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbe') diff --git a/libbe/names.py b/libbe/names.py index a0c579b..1c54dc2 100644 --- a/libbe/names.py +++ b/libbe/names.py @@ -17,6 +17,6 @@ def friendly_name(bugs, ctor): num = int(name.split("-")[-1]) if num > last: last = num - return "%s-%i" % (ctor, num+1) + return "%s-%i" % (ctor, last+1) -- cgit