Revision e815c918 pithos/backends/lib/sqlite/node.py

b/pithos/backends/lib/sqlite/node.py
635 635
            append(subq)
636 636
        
637 637
        if opers:
638
            t = (("(key = ? and value %s ?)" % (o,)) for k, o, v in opers)
638
            t = (("(a.key = ? and a.value %s ?)" % (o,)) for k, o, v in opers)
639 639
            subq = "(" + ' or '.join(t) + ")"
640 640
            for k, o, v in opers:
641 641
                args += (k, v)

Also available in: Unified diff