aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/resources/issues.py
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2012-06-03 14:43:00 +0200
committerDavid Medina <davidmedina9@gmail.com>2012-06-03 14:43:00 +0200
commit5bd3a9da8a8b3878fd7bfa4b3aced3d85baaa5f0 (patch)
tree384c25d038f4ea73a37508ec3ef815de172e8d1e /pygithub3/resources/issues.py
parentMerge branch 'services/issues' of https://github.com/alejandrogomez/python-github3 into services/issues (diff)
downloadpython-github3-5bd3a9da8a8b3878fd7bfa4b3aced3d85baaa5f0.tar.xz
python-github3-5bd3a9da8a8b3878fd7bfa4b3aced3d85baaa5f0.zip
WIP on issues
Fix GET params Config precendence of user/repo TODO: milestones , fix tests and test it
Diffstat (limited to 'pygithub3/resources/issues.py')
-rw-r--r--pygithub3/resources/issues.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pygithub3/resources/issues.py b/pygithub3/resources/issues.py
index 69f905a..b2301a6 100644
--- a/pygithub3/resources/issues.py
+++ b/pygithub3/resources/issues.py
@@ -35,13 +35,13 @@ class Issue(Resource):
_dates = ('created_at', 'updated_at', 'closed_at')
_maps = {
- 'assignee': User,
- 'user': User,
+ 'assignee': User,
+ 'user': User,
'milestone': Milestone,
'pull_request': PullRequest
}
- _collection_maps = {'labels': Label}
+ _collection_maps = {'labels': Label}
def __str__(self):
return '<Issue (%s)>' % getattr(self, 'number', '')