aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/models
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2012-02-03 14:45:32 +0100
committerDavid Medina <davidmedina9@gmail.com>2012-02-03 14:46:54 +0100
commitf01bc94a33d8644da65b5fa895c222e9ee057b50 (patch)
tree3bfc837901a54f97a30f1d24431d8322906de192 /pygithub3/models
parentPypi environment by setuptools (diff)
downloadpython-github3-f01bc94a33d8644da65b5fa895c222e9ee057b50.tar.xz
python-github3-f01bc94a33d8644da65b5fa895c222e9ee057b50.zip
Fix imports to new environment
Absolute imports as PEP8 tells
Diffstat (limited to '')
-rw-r--r--pygithub3/models/__init__.py1
-rw-r--r--pygithub3/models/base.py (renamed from github3/models/base.py)1
-rw-r--r--pygithub3/models/users.py (renamed from github3/models/user.py)4
3 files changed, 5 insertions, 1 deletions
diff --git a/pygithub3/models/__init__.py b/pygithub3/models/__init__.py
new file mode 100644
index 0000000..dae354a
--- /dev/null
+++ b/pygithub3/models/__init__.py
@@ -0,0 +1 @@
+# -*- encoding: utf-8 -*-
diff --git a/github3/models/base.py b/pygithub3/models/base.py
index a2c3ac7..2f0cbd7 100644
--- a/github3/models/base.py
+++ b/pygithub3/models/base.py
@@ -1,6 +1,7 @@
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
+
class Model(object):
dates = ()
diff --git a/github3/models/user.py b/pygithub3/models/users.py
index c87afc3..0ceef90 100644
--- a/github3/models/user.py
+++ b/pygithub3/models/users.py
@@ -1,7 +1,9 @@
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
-from base import Model
+from .base import Model
+
+__all__ = ('Plan', 'User')
class Plan(Model):