summaryrefslogtreecommitdiff
path: root/portato/db/sql.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-08-14 19:42:01 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-08-14 19:42:01 +0200
commit801316be64177d889ab21fc28c07dd4d77cb8184 (patch)
tree3966d67a043cb372bb51a9acdf533ef919122d44 /portato/db/sql.py
parent636eb3064e8ff8957bbf9fd172d7a0c6827e973c (diff)
downloadportato-801316be64177d889ab21fc28c07dd4d77cb8184.tar.gz
portato-801316be64177d889ab21fc28c07dd4d77cb8184.tar.bz2
portato-801316be64177d889ab21fc28c07dd4d77cb8184.zip
Fix the EixSQLDatabase and EixReader
Diffstat (limited to 'portato/db/sql.py')
-rw-r--r--portato/db/sql.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/portato/db/sql.py b/portato/db/sql.py
index 6c95bb3..f2a736e 100644
--- a/portato/db/sql.py
+++ b/portato/db/sql.py
@@ -256,3 +256,4 @@ class SQLDatabase (Database):
self._restrict = "AND (name LIKE '%%%(restrict)s%%' OR cat LIKE '%(restrict)s%%')" % {"restrict":restrict}
restrict = property(get_restrict, set_restrict)
+ con = staticmethod(con)