aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)