equal
deleted
inserted
replaced
53 result = sqlcursor.fetchall() |
53 result = sqlcursor.fetchall() |
54 if len(result) == 0: |
54 if len(result) == 0: |
55 eids[eid] = False |
55 eids[eid] = False |
56 return False |
56 return False |
57 elif len(result) > 1: |
57 elif len(result) > 1: |
58 msg = (' More than one entity with eid %s exists in source !\n' |
58 msg = (' More than one entity with eid %s exists in source!\n' |
59 ' WARNING : Unable to fix this, do it yourself !\n') |
59 ' WARNING : Unable to fix this, do it yourself!\n') |
60 sys.stderr.write(msg % eid) |
60 sys.stderr.write(msg % eid) |
61 eids[eid] = True |
61 eids[eid] = True |
62 return True |
62 return True |
63 |
63 |
64 # XXX move to yams? |
64 # XXX move to yams? |