aboutsummaryrefslogtreecommitdiffstats
path: root/release.py
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-09-20 00:11:07 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-09-20 00:11:07 +0800
commit51f3a5641f04bbe33dc1220ea2a435518d66533b (patch)
tree2a938f16b38fdcb57c622eb0f4d8d767a236534f /release.py
parent59c5323452bd188d38934260dd89fcba5f8c1776 (diff)
downloadgsoc2013-empathy-51f3a5641f04bbe33dc1220ea2a435518d66533b.tar
gsoc2013-empathy-51f3a5641f04bbe33dc1220ea2a435518d66533b.tar.gz
gsoc2013-empathy-51f3a5641f04bbe33dc1220ea2a435518d66533b.tar.bz2
gsoc2013-empathy-51f3a5641f04bbe33dc1220ea2a435518d66533b.tar.lz
gsoc2013-empathy-51f3a5641f04bbe33dc1220ea2a435518d66533b.tar.xz
gsoc2013-empathy-51f3a5641f04bbe33dc1220ea2a435518d66533b.tar.zst
gsoc2013-empathy-51f3a5641f04bbe33dc1220ea2a435518d66533b.zip
Fix release script to correctly detect bug numbers
svn path=/trunk/; revision=1475
Diffstat (limited to 'release.py')
-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