소스 검색

replace python keyword type with dbtype

oz123 12 년 전
부모
커밋
530f132807
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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)