aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/resources/orgs.py
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2012-05-27 21:27:14 +0200
committerDavid Medina <davidmedina9@gmail.com>2012-05-27 21:35:19 +0200
commit4c63c55de6fa6e821ded49a9aa4c45007d62447c (patch)
treef4ead6a5096f2480c463db4c3332e724cfb37475 /pygithub3/resources/orgs.py
parentMerged pull request #5 from stefanor:services/orgs (diff)
downloadpython-github3-4c63c55de6fa6e821ded49a9aa4c45007d62447c.tar.xz
python-github3-4c63c55de6fa6e821ded49a9aa4c45007d62447c.zip
Little fixs
Diffstat (limited to 'pygithub3/resources/orgs.py')
-rw-r--r--pygithub3/resources/orgs.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pygithub3/resources/orgs.py b/pygithub3/resources/orgs.py
index 6e2d39b..f0a9804 100644
--- a/pygithub3/resources/orgs.py
+++ b/pygithub3/resources/orgs.py
@@ -2,6 +2,7 @@
# -*- encoding: utf-8 -*-
from .base import Resource
+from .users import Plan
__all__ = ('Org', )
@@ -9,6 +10,7 @@ __all__ = ('Org', )
class Org(Resource):
_dates = ('created_at', )
+ _maps = {'plan': Plan}
def __str__(self):
return '<Org (%s)>' % getattr(self, 'login', '')