Skip to content

Commit d3dd1cd

Browse files
committed
Fix setup.py install
1 parent 197f2f6 commit d3dd1cd

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

pygithub3/github.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
#!/usr/bin/env python
22
# -*- encoding: utf-8 -*-
33

4-
from pygithub3.services.users import User
5-
from pygithub3.services.repos import Repos
6-
74

85
class Github(object):
96
"""
@@ -16,6 +13,8 @@ class Github(object):
1613
"""
1714

1815
def __init__(self, **config):
16+
from pygithub3.services.users import User
17+
from pygithub3.services.repos import Repos
1918
self._users = User(**config)
2019
self._repos = Repos(**config)
2120

pygithub3/services/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def set_html(self):
160160
self.__set_mimetype('html')
161161

162162
def set_full(self):
163-
""" Resource will have ``body`` ``body_text`` and ``body_html``
163+
""" Resource will have ``body``, ``body_text`` and ``body_html``
164164
attributes """
165165
self.__set_mimetype('full')
166166

0 commit comments

Comments
 (0)