Commits

offline committed 0a5e924

another bugfix

  • Participants
  • Parent commits 71c05bd

Comments (0)

Files changed (1)

File tsearch2/managers.py

     def get_where_clause(self):
         if self._where_clause:
             return " WHERE %s" % " AND ".join(self._where_clause)
+        return ''
 
     def get_from_clause(self):
         if self._from_clause:
             return " FROM %s" % ", ".join(self._from_clause)
+        return ''
 
     def update_index(self, pk=None):
         """