aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/resources/orgs.py
diff options
context:
space:
mode:
authorStefano Rivera <stefano@rivera.za.net>2012-04-23 17:44:10 +0200
committerStefano Rivera <stefano@rivera.za.net>2012-04-23 17:44:10 +0200
commitc7c03100fd0584b759bb75d461a12f5bcd5aabba (patch)
tree16267d3fb9919933d826ddcc8aa05f04b9b0a00f /pygithub3/resources/orgs.py
parent:sparkles: Release 0.3 :sparkles: (diff)
downloadpython-github3-c7c03100fd0584b759bb75d461a12f5bcd5aabba.tar.xz
python-github3-c7c03100fd0584b759bb75d461a12f5bcd5aabba.zip
Baseline Orgs API implementation
Diffstat (limited to 'pygithub3/resources/orgs.py')
-rw-r--r--pygithub3/resources/orgs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygithub3/resources/orgs.py b/pygithub3/resources/orgs.py
index 3996172..be6769a 100644
--- a/pygithub3/resources/orgs.py
+++ b/pygithub3/resources/orgs.py
@@ -11,4 +11,4 @@ class Org(Resource):
_dates = ('created_at', )
def __str__(self):
- return '<Org (%s)>' % getattr(self, 'name', '')
+ return '<Org (%s)>' % getattr(self, 'login', '')