Parcourir la source

replace python keyword type with dbtype

oz123 il y a 12 ans
Parent
commit
530f132807
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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)