Revision 3d13f97a pithos/backends/lib/sqlite/node.py

b/pithos/backends/lib/sqlite/node.py
597 597
        
598 598
        subqlist = []
599 599
        append = subqlist.append
600
        included, excluded, opers = parse_filters(filterq.split(','))
600
        included, excluded, opers = parse_filters(filterq)
601 601
        args = []
602 602
        
603 603
        if included:
......
622 622
        if not subqlist:
623 623
            return None, None
624 624
        
625
        subq = ' ' + ' and '.join(subqlist)
626
        
625
        subq = ' and ' + ' and '.join(subqlist)
627 626
        return subq, args
628 627
    
629 628
    def _construct_paths(self, pathq):
......
665 664
    
666 665
    def latest_version_list(self, parent, prefix='', delimiter=None,
667 666
                            start='', limit=10000, before=inf,
668
                            except_cluster=0, pathq=[], filterq=None):
667
                            except_cluster=0, pathq=[], filterq=[]):
669 668
        """Return a (list of (path, serial) tuples, list of common prefixes)
670 669
           for the current versions of the paths with the given parent,
671 670
           matching the following criteria.

Also available in: Unified diff