소스 검색

Remove duplicate old db warning

oz123 11 년 전
부모
커밋
82a91c78b8
1개의 변경된 파일2개의 추가작업 그리고 11개의 파일을 삭제
  1. 2 11
      scripts/pwman3

+ 2 - 11
scripts/pwman3

@@ -172,17 +172,8 @@ if __name__ == '__main__':
         sys.exit(status)
 
     db = pwman.data.factory.create(dbtype, dbver)
-    if dbver >= 0.4:
-        cli = PwmanCliNew(db, xselpath, CLICallback)
-    elif dbver < 0.4:
-        print("\n*** WARNNING: You are using the old database format"
-              " which is insecure."
-              " Please upgrade to the new database "
-              " format. Do note: support for this DB format will be dropped in"
-              " v0.5. This  database format is on hold. No bugs are fixead"
-              " Check the help (pwman3 -h) or look at the manpage which"
-              " explains how to proceed. ***")
-        sys.exit(0)
+    cli = PwmanCliNew(db, xselpath, CLICallback)
+
     try:
         cli.cmdloop()
     except KeyboardInterrupt, e: