aboutsummaryrefslogtreecommitdiffstats
path: root/github3/models/repos.py
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2011-11-09 02:18:29 +0100
committerDavid Medina <davidmedina9@gmail.com>2011-11-09 02:18:29 +0100
commit5604cff7cd6094ca61971eb973838e6c4ffeb992 (patch)
treec87f4e23f72c1c9391c1024087a2dd5460e9d6c4 /github3/models/repos.py
parentNew design. Merge develop branch (diff)
downloadpython-github3-5604cff7cd6094ca61971eb973838e6c4ffeb992.tar.xz
python-github3-5604cff7cd6094ca61971eb973838e6c4ffeb992.zip
Fix bugs
Diffstat (limited to 'github3/models/repos.py')
-rw-r--r--github3/models/repos.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/github3/models/repos.py b/github3/models/repos.py
index ba6ac33..d1b7b75 100644
--- a/github3/models/repos.py
+++ b/github3/models/repos.py
@@ -22,8 +22,8 @@ class Repo(BaseResource):
'maps': {
'owner': User,
'organization': Org,
- 'parent': 'self',
- 'source': 'self',
+ 'parent': self.__class__,
+ 'source': self.__class__,
}
}