projects
/
pithos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15a96c3
)
Fix list public in SQLAlchemy backend module.
newlists
author
Antony Chazapis
<chazapis@gmail.com>
Thu, 16 Feb 2012 14:08:22 +0000
(16:08 +0200)
committer
Antony Chazapis
<chazapis@gmail.com>
Thu, 16 Feb 2012 14:08:22 +0000
(16:08 +0200)
pithos/backends/lib/sqlalchemy/public.py
patch
|
blob
|
history
diff --git
a/pithos/backends/lib/sqlalchemy/public.py
b/pithos/backends/lib/sqlalchemy/public.py
index
e719480
..
25bf0f3
100644
(file)
--- a/
pithos/backends/lib/sqlalchemy/public.py
+++ b/
pithos/backends/lib/sqlalchemy/public.py
@@
-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()