Revision 29148653 snf-pithos-backend/pithos/backends/lib/sqlalchemy/permissions.py
b/snf-pithos-backend/pithos/backends/lib/sqlalchemy/permissions.py | ||
---|---|---|
209 | 209 |
"""Return the list of shared paths.""" |
210 | 210 |
|
211 | 211 |
s = select([self.xfeatures.c.path], |
212 |
self.xfeatures.c.path.like(self.escape_like(prefix) + '%',
|
|
213 |
escape=ESCAPE_CHAR
|
|
214 |
)
|
|
215 |
).order_by(self.xfeatures.c.path.asc())
|
|
212 |
self.xfeatures.c.path.like( |
|
213 |
self.escape_like(prefix) + '%',
|
|
214 |
escape=ESCAPE_CHAR)).order_by(
|
|
215 |
self.xfeatures.c.path.asc())
|
|
216 | 216 |
r = self.conn.execute(s) |
217 | 217 |
l = [row[0] for row in r.fetchall()] |
218 | 218 |
r.close() |
Also available in: Unified diff