aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2012-03-01 23:51:51 +0100
committerDavid Medina <davidmedina9@gmail.com>2012-03-01 23:51:51 +0100
commitd3dd1cdd3470ab79b32288236bef8eb245346ae1 (patch)
treee33b8a7a1fdcfe1627141734a6b4f9f1f50b9c1a
parentUpdate Readme and metadata (diff)
downloadpython-github3-d3dd1cdd3470ab79b32288236bef8eb245346ae1.tar.xz
python-github3-d3dd1cdd3470ab79b32288236bef8eb245346ae1.zip
Fix setup.py install
-rw-r--r--pygithub3/github.py5
-rw-r--r--pygithub3/services/base.py2
2 files changed, 3 insertions, 4 deletions
diff --git a/pygithub3/github.py b/pygithub3/github.py
index 5b5353d..fd1cb26 100644
--- a/pygithub3/github.py
+++ b/pygithub3/github.py
@@ -1,9 +1,6 @@
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
-from pygithub3.services.users import User
-from pygithub3.services.repos import Repos
-
class Github(object):
"""
@@ -16,6 +13,8 @@ class Github(object):
"""
def __init__(self, **config):
+ from pygithub3.services.users import User
+ from pygithub3.services.repos import Repos
self._users = User(**config)
self._repos = Repos(**config)
diff --git a/pygithub3/services/base.py b/pygithub3/services/base.py
index 8602150..9f7279a 100644
--- a/pygithub3/services/base.py
+++ b/pygithub3/services/base.py
@@ -160,7 +160,7 @@ class MimeTypeMixin(object):
self.__set_mimetype('html')
def set_full(self):
- """ Resource will have ``body`` ``body_text`` and ``body_html``
+ """ Resource will have ``body``, ``body_text`` and ``body_html``
attributes """
self.__set_mimetype('full')