diff options
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', |