浏览代码

fix typo s with e

oz123 12 年之前
父节点
当前提交
45b011d4ac
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pwman/data/drivers/sqlite.py

+ 1 - 1
pwman/data/drivers/sqlite.py

@@ -56,7 +56,7 @@ class SQLiteDatabase(Database):
             self._cur = self._con.cursor()
             self._checktables()
         except sqlite.DatabaseError, e:
-            raise DatabaseException("SQLite: %s" % (s))
+            raise DatabaseException("SQLite: %s" % (e))
 
     def close(self):
         self._cur.close()