Commit 3877e689 authored by Axel Haustant's avatar Axel Haustant

Fix compat for CPython/PyPy 2.x

__builtins__ should be accessed as a module, not a dict.
parent 794aa776
......@@ -49,7 +49,7 @@ else:
return unicode(s)
# Helpers
reduce = __builtins__['reduce']
reduce = __builtins__.reduce
from urlparse import urljoin
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment