aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/resources
diff options
context:
space:
mode:
Diffstat (limited to 'pygithub3/resources')
-rw-r--r--pygithub3/resources/gists.py1
-rw-r--r--pygithub3/resources/git_data.py3
2 files changed, 3 insertions, 1 deletions
diff --git a/pygithub3/resources/gists.py b/pygithub3/resources/gists.py
index 7e9550a..89425bf 100644
--- a/pygithub3/resources/gists.py
+++ b/pygithub3/resources/gists.py
@@ -15,6 +15,7 @@ class Fork(Resource):
_dates = ('created_at', )
_maps = {'user': User}
+
def __str__(self):
return '<GistFork>'
diff --git a/pygithub3/resources/git_data.py b/pygithub3/resources/git_data.py
index 4adcf5d..4d12e01 100644
--- a/pygithub3/resources/git_data.py
+++ b/pygithub3/resources/git_data.py
@@ -17,7 +17,8 @@ class Reference(Resource):
class Tag(Resource):
_maps = {'object': Commit,
- 'tagger': Author,} # committer? tagger?
+ 'tagger': Author} # committer? tagger?
+
def __str__(self):
return '<Tag (%s)>' % getattr(self, 'tag', '')