Author: fw Date: 2007-06-10 12:08:52 +0000 (Sun, 10 Jun 2007) New Revision: 5988 Modified: lib/python/security_db.py Log: * lib/python/security_db.py (DB._parseFile): Store pickled data as blob in the SQLite database. Modified: lib/python/security_db.py ==================================================================--- lib/python/security_db.py 2007-06-10 12:08:43 UTC (rev 5987) +++ lib/python/security_db.py 2007-06-10 12:08:52 UTC (rev 5988) @@ -522,7 +522,7 @@ 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 = ?",