diff options
author | 2012-04-16 15:39:27 -0500 | |
---|---|---|
committer | 2012-04-16 15:39:27 -0500 | |
commit | 30c1cec25eff0a37ad494f57bfc8fce7dedf5de2 (patch) | |
tree | 7e45d97961ec773c4df4fe0ab5d7eb4e0431f725 /pygithub3/resources/git_data.py | |
parent | def != class (diff) | |
download | python-github3-30c1cec25eff0a37ad494f57bfc8fce7dedf5de2.tar.xz python-github3-30c1cec25eff0a37ad494f57bfc8fce7dedf5de2.zip |
add docs and a few little pep8 tweaks
Diffstat (limited to 'pygithub3/resources/git_data.py')
-rw-r--r-- | pygithub3/resources/git_data.py | 3 |
1 files changed, 2 insertions, 1 deletions
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', '') |