equal
deleted
inserted
replaced
606 except UnknownEid: |
606 except UnknownEid: |
607 # we want queries such as "Any X WHERE X eid 9999" |
607 # we want queries such as "Any X WHERE X eid 9999" |
608 # return an empty result instead of raising UnknownEid |
608 # return an empty result instead of raising UnknownEid |
609 return empty_rset(session, rql, args) |
609 return empty_rset(session, rql, args) |
610 cachekey.append(etype) |
610 cachekey.append(etype) |
|
611 # ensure eid is correctly typed in args |
|
612 args[key] = typed_eid(args[key]) |
611 cachekey = tuple(cachekey) |
613 cachekey = tuple(cachekey) |
612 else: |
614 else: |
613 cachekey = rql |
615 cachekey = rql |
614 try: |
616 try: |
615 rqlst = self._rql_cache[cachekey] |
617 rqlst = self._rql_cache[cachekey] |