empathy r1474 - branches/gnome-2-24



Author: xclaesse
Date: Fri Sep 19 16:10:31 2008
New Revision: 1474
URL: http://svn.gnome.org/viewvc/empathy?rev=1474&view=rev

Log:
Fix release script to correctly detect bug numbers

Modified:
   branches/gnome-2-24/release.py

Modified: branches/gnome-2-24/release.py
==============================================================================
--- branches/gnome-2-24/release.py	(original)
+++ branches/gnome-2-24/release.py	Fri Sep 19 16:10:31 2008
@@ -152,7 +152,8 @@
 			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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]