good thing I had an assert

This commit is contained in:
Stephan Kulow 2011-04-05 12:00:32 +02:00
parent 356a213d71
commit 9bc781bc6c

View File

@ -276,7 +276,7 @@ def _checker_check_dups(self, project, opts):
target = a.find('target')
type = a.attrib['type']
assert target != None
assert target.attrib['project'] == project
if target.attrib['project'] != project: continue
package = target.attrib['package']
if rqs.has_key(type + package):
[oldid, oldsource] = rqs[type + package]