summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorFlorian Weimer <fw@deneb.enyo.de>2007-06-10 12:08:52 +0000
committerFlorian Weimer <fw@deneb.enyo.de>2007-06-10 12:08:52 +0000
commit932df50bc9d471015fbe5d9fe206267406ef407a (patch)
treed46c065541c96e39ba4c9c120188044efbc2f686 /lib
parente21de25947af2f41d962cd15fd6c112e2584d73c (diff)
* lib/python/security_db.py (DB._parseFile):
Store pickled data as blob in the SQLite database. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@5988 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'lib')
-rw-r--r--lib/python/security_db.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/security_db.py b/lib/python/security_db.py
index c7accbd2a1..d2d11c401b 100644
--- a/lib/python/security_db.py
+++ b/lib/python/security_db.py
@@ -522,7 +522,7 @@ class DB:
def toString(data):
result = cStringIO.StringIO()
cPickle.dump(data, result)
- return result.getvalue()
+ return buffer(result.getvalue())
for (old_print, contents) in cursor.execute(
"SELECT inodeprint, parsed FROM inodeprints WHERE file = ?",

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