aboutsummaryrefslogtreecommitdiffstats
path: root/github3/handlers/base.py
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2011-11-01 12:30:25 +0100
committerDavid Medina <davidmedina9@gmail.com>2011-11-01 12:30:25 +0100
commitb17dbea56f59aa5403e5722e12878c7183742551 (patch)
treeea02535e78ae2c59d9099850e5ab2d4b1d044f10 /github3/handlers/base.py
parentWip on handlers (diff)
downloadpython-github3-b17dbea56f59aa5403e5722e12878c7183742551.tar.xz
python-github3-b17dbea56f59aa5403e5722e12878c7183742551.zip
Decouple Handlers and Models
Handler User complete
Diffstat (limited to 'github3/handlers/base.py')
-rw-r--r--github3/handlers/base.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/github3/handlers/base.py b/github3/handlers/base.py
index 6a5ac65..93a4680 100644
--- a/github3/handlers/base.py
+++ b/github3/handlers/base.py
@@ -3,8 +3,6 @@
#
# author: David Medina
-import models
-
class Handler(object):
""" Abstract handler, that inject github.api """
@@ -24,3 +22,4 @@ class Handler(object):
url = self._extend_url(*args)
map_model = kwargs.get('model', self._model)
return self._gh._get_resources(url, map_model, **kwargs)
+