diff options
Diffstat (limited to 'pygithub3')
| -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') |
