From 88e54d4dc2e9c49dadf1a9b8e14fc107270c9415 Mon Sep 17 00:00:00 2001 From: David Medina Date: Tue, 29 Nov 2011 22:19:26 +0100 Subject: pep8 --- github3/models/gists.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'github3/models') diff --git a/github3/models/gists.py b/github3/models/gists.py index b317f57..13f3a62 100644 --- a/github3/models/gists.py +++ b/github3/models/gists.py @@ -17,6 +17,7 @@ class File(BaseResource): def __repr__(self): return ' %s' % self.filename + class GistFork(BaseResource): """ GistFork model """ @@ -31,6 +32,7 @@ class GistFork(BaseResource): def __repr__(self): return ' %s>' % self.user.login + class ChangeStatus(BaseResource): """ ChangeStatus model """ @@ -43,6 +45,7 @@ class ChangeStatus(BaseResource): def __repr__(self): return ' change_status>' + class GistHistory(BaseResource): """ """ @@ -57,18 +60,21 @@ class GistHistory(BaseResource): def __repr__(self): return '' % (self.user, self.committed_at) + class Gist(BaseResource): """ """ @classmethod def idl(self): return { - 'strs': ['url', 'description', 'html_url', 'git_pull_url', 'git_push_url'], + 'strs': ['url', 'description', 'html_url', 'git_pull_url', + 'git_push_url'], 'ints': ['id', 'comments'], 'bools': ['public'], 'dates': ['created_at'], 'maps': {'user': User}, - 'collection_maps': {'files': File, 'forks': GistFork, 'history': GistHistory}, + 'collection_maps': {'files': File, 'forks': GistFork, + 'history': GistHistory}, } def __repr__(self): -- cgit v1.3-8-gc7d7