equal
deleted
inserted
replaced
65 result = sqlcursor.fetchall() |
65 result = sqlcursor.fetchall() |
66 if len(result) == 0: |
66 if len(result) == 0: |
67 eids[eid] = False |
67 eids[eid] = False |
68 return False |
68 return False |
69 elif len(result) > 1: |
69 elif len(result) > 1: |
70 msg = (' More than one entity with eid %s exists in source !\n' |
70 msg = (' More than one entity with eid %s exists in source!\n' |
71 ' WARNING : Unable to fix this, do it yourself !\n') |
71 ' WARNING : Unable to fix this, do it yourself!\n') |
72 sys.stderr.write(msg % eid) |
72 sys.stderr.write(msg % eid) |
73 eids[eid] = True |
73 eids[eid] = True |
74 return True |
74 return True |
75 |
75 |
76 # XXX move to yams? |
76 # XXX move to yams? |