aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-09-20 00:10:31 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-09-20 00:10:31 +0800
commit68ed03bad66bcddb7334e2ea277bad99520b4dcb (patch)
tree2a938f16b38fdcb57c622eb0f4d8d767a236534f
parent59c5323452bd188d38934260dd89fcba5f8c1776 (diff)
downloadgsoc2013-empathy-68ed03bad66bcddb7334e2ea277bad99520b4dcb.tar
gsoc2013-empathy-68ed03bad66bcddb7334e2ea277bad99520b4dcb.tar.gz
gsoc2013-empathy-68ed03bad66bcddb7334e2ea277bad99520b4dcb.tar.bz2
gsoc2013-empathy-68ed03bad66bcddb7334e2ea277bad99520b4dcb.tar.lz
gsoc2013-empathy-68ed03bad66bcddb7334e2ea277bad99520b4dcb.tar.xz
gsoc2013-empathy-68ed03bad66bcddb7334e2ea277bad99520b4dcb.tar.zst
gsoc2013-empathy-68ed03bad66bcddb7334e2ea277bad99520b4dcb.zip
Fix release script to correctly detect bug numbers
svn path=/branches/gnome-2-24/; revision=1474
-rwxr-xr-xrelease.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/release.py b/release.py
index c9b9541a2..9f9f67752 100755
--- a/release.py
+++ b/release.py
@@ -152,7 +152,8 @@ class Project:
while p1 != -1:
bug = Bug()
p2 = p1 + 1
- while message[p2].isdigit():
+ while p2 < len (message) and \
+ message[p2].isdigit():
p2 = p2 + 1
bug.number = message[p1+1:p2]
bug.author = author