diff options
author | 2012-02-22 01:16:10 +0100 | |
---|---|---|
committer | 2012-02-22 01:16:32 +0100 | |
commit | 36381d426f5da0552d2db0b60c757ef5e3a67c2d (patch) | |
tree | e5dc0081cbb3cc67655f45ee217ebf7165dc0fa2 /pygithub3/resources/repos.py | |
parent | Repos.downloads service done (diff) | |
download | python-github3-36381d426f5da0552d2db0b60c757ef5e3a67c2d.tar.xz python-github3-36381d426f5da0552d2db0b60c757ef5e3a67c2d.zip |
Repos.forks service done
Diffstat (limited to 'pygithub3/resources/repos.py')
-rw-r--r-- | pygithub3/resources/repos.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pygithub3/resources/repos.py b/pygithub3/resources/repos.py index 865f039..89e5682 100644 --- a/pygithub3/resources/repos.py +++ b/pygithub3/resources/repos.py @@ -106,6 +106,9 @@ class Branch(Resource): class Download(Resource): + def __str__(self): + return '<Download (%s)>' % getattr(self, 'name', '') + def ball_to_upload(self): return OrderedDict({ 'key': self.path, 'acl': self.acl, 'success_action_status': '201', |