equal
deleted
inserted
replaced
350 try: |
350 try: |
351 rql = 'Any %s WHERE %s' % (selectvar, constraints) |
351 rql = 'Any %s WHERE %s' % (selectvar, constraints) |
352 if objtype: |
352 if objtype: |
353 rql += ', %s is %s' % (selectvar, objtype) |
353 rql += ', %s is %s' % (selectvar, objtype) |
354 rset = cursor.execute(rql) |
354 rset = cursor.execute(rql) |
355 except: |
355 except Exception: |
356 print "could restrict eid_list with given constraints (%r)" % constraints |
356 print "could restrict eid_list with given constraints (%r)" % constraints |
357 return [] |
357 return [] |
358 return set(eid for eid, in rset.rows) |
358 return set(eid for eid, in rset.rows) |
359 |
359 |
360 |
360 |