Permalink
Browse files

Python 2.5 compatibility hack

  • Loading branch information...
1 parent ed11190 commit 7797683f3e6ec05b50762f3cddede2d5ae89ef69 @OleLaursen committed Aug 29, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 main/views.py
View
@@ -97,7 +97,7 @@ def search_for_address_nodes(request):
for k in ois_street_keys:
query = iri_to_uri(urlquote("node[%s=%s]" % (k, name)))
try:
- url_response = urllib2.urlopen(xapi_base_url + query, timeout=30)
+ url_response = urllib2.urlopen(xapi_base_url + query) # , timeout=30
xml = url_response.read()
except urllib2.URLError, e:
if hasattr(e, "reason"):

0 comments on commit 7797683

Please sign in to comment.