Fix list public in SQLAlchemy backend module. newlists
authorAntony Chazapis <chazapis@gmail.com>
Thu, 16 Feb 2012 14:08:22 +0000 (16:08 +0200)
committerAntony Chazapis <chazapis@gmail.com>
Thu, 16 Feb 2012 14:08:22 +0000 (16:08 +0200)
pithos/backends/lib/sqlalchemy/public.py

index e719480..25bf0f3 100644 (file)
@@ -87,7 +87,7 @@ class Public(DBWorker):
     
     def public_list(self, prefix):
         s = select([self.public.c.path, self.public.c.public_id])
-        s = s.where(self.xfeatures.c.path.like(self.escape_like(prefix) + '%', escape='\\'))
+        s = s.where(self.public.c.path.like(self.escape_like(prefix) + '%', escape='\\'))
         s = s.where(self.public.c.active == True)
         r = self.conn.execute(s)
         rows = r.fetchall()