浏览代码

Py3 compat

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

+ 1 - 1
pwman/data/__init__.py

@@ -1 +1 @@
-import factory
+from . import factory

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

@@ -18,4 +18,4 @@ try:
 except ImportError:
     MongoDB = None
 
-__all__ = [SQLite, PostgresqlDatabase, MySQLDatabase, MongoDB]
+__all__ = [SQLite, PostgresqlDatabase, MySQLDatabase, MongoDB]