Candidate fix for Bug 1302 - Raptor mmp version parsing fails in raptor_meta.py
authorMattD <mattd@symbian.org>
Mon, 16 Nov 2009 12:59:20 +0000
changeset 2 86356a777616
parent 1 be27ed110b50
child 44 cf0c187b284a
Candidate fix for Bug 1302 - Raptor mmp version parsing fails in raptor_meta.py
sbsv2/raptor/python/raptor_meta.py
--- a/sbsv2/raptor/python/raptor_meta.py	Wed Oct 28 14:39:48 2009 +0000
+++ b/sbsv2/raptor/python/raptor_meta.py	Mon Nov 16 12:59:20 2009 +0000
@@ -1450,7 +1450,7 @@
 
 				# add in the minor number
 				minor = 0
-				if len(version) >  1:
+				if len(version) >  1 and version[2] is not None:
 					minor = int(version[2],10)
 
 				self.__versionhex = "%04x%04x" % (major, minor)