From d3dd1cdd3470ab79b32288236bef8eb245346ae1 Mon Sep 17 00:00:00 2001 From: David Medina Date: Thu, 1 Mar 2012 23:51:51 +0100 Subject: Fix setup.py install --- pygithub3/github.py | 5 ++--- pygithub3/services/base.py | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'pygithub3') 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') -- cgit v1.2.3-59-g8ed1b