summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorFlorian Weimer <fw@deneb.enyo.de>2005-10-20 09:02:32 +0000
committerFlorian Weimer <fw@deneb.enyo.de>2005-10-20 09:02:32 +0000
commite7df6ed88ca663c9df10193c36fcf714ddab2ef5 (patch)
tree86443aa33dfa066caae2e8eb3d201a0b6a4f5c9a /lib
parentdd0ec9f76f4f810d408a772e5184b52d8cf72cea (diff)
r626@deneb: fw | 2005-10-14 10:33:18 +0200
lib/python/security_db.py (DB.refresh): Reinitialize user-defined functions if the database is reopened. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@2483 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'lib')
-rw-r--r--lib/python/security_db.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/python/security_db.py b/lib/python/security_db.py
index f45dadc4ce..59f3fd63c4 100644
--- a/lib/python/security_db.py
+++ b/lib/python/security_db.py
@@ -122,6 +122,7 @@ class DB:
return
self.__stat = current
self.db = apsw.Connection(self.name)
+ self._initFunctions()
def cursor(self):
"""Creates a new database cursor.

© 2014-2024 Faster IT GmbH | imprint | privacy policy