Explorar o código

replace python keyword type with dbtype

oz123 %!s(int64=12) %!d(string=hai) anos
pai
achega
530f132807
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      scripts/pwman3

+ 2 - 2
scripts/pwman3

@@ -109,8 +109,8 @@ try:
 
     enc = CryptoEngine.get()
 
-    type = config.get_value("Database", "type")
-    db = pwman.data.factory.create(type)
+    dbtype = config.get_value("Database", "type")
+    db = pwman.data.factory.create(dbtype)
     cli = PwmanCli(db, xselpath)
 except SystemExit, e:
     sys.exit(e)