15 Jan
2010
15 Jan
'10
19:06
When comparing two rpms with versions ver1 = '1.8.1_2.6.27.25_1_1.0000.4851.23.1' ver2 = '1.8.1.move_stuff_2.6.27.25_1_1.0000.4851.23.1' osc.util.rpmquery.RpmQuery.rpmvercmp errors at seg1 = mo1.group(0) with AttributeError: 'NoneType' object has no attribute 'group'. At this point in the while loop the ver variable have values: ver1 = '_2.6.27.25_1_1.0000.4851.23.1' ver2 = 'move_stuff_2.6.27.25_1_1.0000.4851.23.1' I'm not sure how ver1 got to start with '_' since it's non-alphanumeric, but it does lead to mo1 being None since it doesn't start with ([a-zA-Z]+) -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org