diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2010-03-16 02:55:26 +0100 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2010-03-16 03:02:57 +0100 |
commit | 0ed08eba908d3b0ca8fcc282c387c03f95250147 (patch) | |
tree | 9c4f09749f59a181de77e6e580e76a099aa33e1e /portato/db/sql.py | |
parent | dde6c85455fdcfd933c18c65a2c038c14093f525 (diff) | |
download | portato-0ed08eba908d3b0ca8fcc282c387c03f95250147.tar.gz portato-0ed08eba908d3b0ca8fcc282c387c03f95250147.tar.bz2 portato-0ed08eba908d3b0ca8fcc282c387c03f95250147.zip |
Rewrote the database initialization to be a class instead of a function
Diffstat (limited to 'portato/db/sql.py')
-rw-r--r-- | portato/db/sql.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/portato/db/sql.py b/portato/db/sql.py index ea4ce91..f5dc257 100644 --- a/portato/db/sql.py +++ b/portato/db/sql.py @@ -120,7 +120,7 @@ class SQLDatabase (Database): os.remove(dbpath) db_existed = False - self.session["pickle"] = True # no need for a certain value + self.session["pickle"] = "1" # no need for a certain value if db_existed: debug("portdirs.db already existant") |