Explorar el Código

fix typo s with e

oz123 hace 12 años
padre
commit
45b011d4ac
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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()