aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/core/link.py
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2012-03-04 16:58:08 +0100
committerDavid Medina <davidmedina9@gmail.com>2012-03-04 17:18:06 +0100
commit14ef05b1ffef24fae97ae3e79567ab612a75ff11 (patch)
tree9397c561b8b963d9b65dbda1f496f01a0f2d3ab2 /pygithub3/core/link.py
parentWrap result getter into partial. It's cleaner (diff)
downloadpython-github3-14ef05b1ffef24fae97ae3e79567ab612a75ff11.tar.xz
python-github3-14ef05b1ffef24fae97ae3e79567ab612a75ff11.zip
Refactor result. Now it's a package
result.smart => Paginate iterator with 'page' behaviour. result.normal => Paginate iterator with 'next' behaviour.
Diffstat (limited to '')
-rw-r--r--pygithub3/core/result/link.py (renamed from pygithub3/core/link.py)3
1 files changed, 2 insertions, 1 deletions
diff --git a/pygithub3/core/link.py b/pygithub3/core/result/link.py
index 1d6be2c..b6a614f 100644
--- a/pygithub3/core/link.py
+++ b/pygithub3/core/result/link.py
@@ -3,7 +3,8 @@
from urlparse import urlparse, parse_qs
-from .third_libs.link_header import parse_link_value
+from pygithub3.core.third_libs.link_header import parse_link_value
+
class Link(str):