Skip to content

Commit

Permalink
moved to use the new keepalive package (issues #51 and #63)
Browse files Browse the repository at this point in the history
  • Loading branch information
wikier committed Nov 3, 2015
1 parent 0670895 commit 609961a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion SPARQLWrapper/Wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ def setUseKeepAlive(self):
@raise ImportError: when could not be imported urlgrabber.keepalive.HTTPHandler
"""
try:
from urlgrabber.keepalive import HTTPHandler
from keepalive import HTTPHandler
keepalive_handler = HTTPHandler()
opener = urllib2.build_opener(keepalive_handler)
urllib2.install_opener(opener)
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
rdflib >= 4.0
rdflib_jsonld
pycurl >= 7.19.5.1
keepalive >= 0.1
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
_requires.append('rdflib')
_install_requires.append('rdflib >= 4.0')

# 7.19.5.1
_requires.append('pycurl')
_install_requires.append('pycurl >= 7.19.5.1')
# keepalive
_requires.append('keepalive')
_install_requires.append('keepalive >= 0.1')

# simplejson
if sys.version_info[0:2] < (2, 6):
Expand Down

0 comments on commit 609961a

Please sign in to comment.