diff options
author | 2012-03-01 23:51:51 +0100 | |
---|---|---|
committer | 2012-03-01 23:51:51 +0100 | |
commit | d3dd1cdd3470ab79b32288236bef8eb245346ae1 (patch) | |
tree | e33b8a7a1fdcfe1627141734a6b4f9f1f50b9c1a | |
parent | Update Readme and metadata (diff) | |
download | python-github3-d3dd1cdd3470ab79b32288236bef8eb245346ae1.tar.xz python-github3-d3dd1cdd3470ab79b32288236bef8eb245346ae1.zip |
Fix setup.py install
-rw-r--r-- | pygithub3/github.py | 5 | ||||
-rw-r--r-- | pygithub3/services/base.py | 2 |
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') |