Selaa lähdekoodia

replace python keyword type with dbtype

oz123 12 vuotta sitten
vanhempi
commit
530f132807
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  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)