aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Bentley <abentley@panoramicfeedback.com>2005-03-09 21:01:53 +0000
committerAaron Bentley <abentley@panoramicfeedback.com>2005-03-09 21:01:53 +0000
commitc0de39f2588916a756c4655362b1eb99d3685212 (patch)
treeef1fa584e6a344cf88b94ed9e017a020b35c3079
parent53f475a31b97cb3e3a84ae099565cb1858af5014 (diff)
downloadbugseverywhere-c0de39f2588916a756c4655362b1eb99d3685212.tar.gz
Fixed logic bug assigning pretty names
-rw-r--r--libbe/names.py2
1 files changed, 1 insertions, 1 deletions
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)