Browse Source

Drop support for the old db format

Apparently, it's already too broken ...
oz123 11 years ago
parent
commit
c2538ee2f9
1 changed files with 3 additions and 2 deletions
  1. 3 2
      pwman/ui/ocli.py

+ 3 - 2
pwman/ui/ocli.py

@@ -544,7 +544,7 @@ class PwmanCliOld(cmd.Cmd, HelpUI, BaseUI):
         """
         _dbwarning = "\n*** WARNNING: You are using the old database format" \
             + " which is unsecure." \
-            + " It's highly recommended to switch to the new database " \
+            + " Please upgrade to the new database " \
             + "format. Do note: support for this DB format will be dropped in"\
             + " v0.5. This  database format is in hold. No bugs are fixed. Please " \
             + " upgrade your database." \
@@ -560,7 +560,8 @@ class PwmanCliOld(cmd.Cmd, HelpUI, BaseUI):
             enc = CryptoEngine.get()
             enc.set_callback(CLICallback())
             self._db = db
-            self._db.open()
+            #  self._db.open()
+            sys.exit(0)
         except Exception, e:
             self.error(e)
             sys.exit(1)