Commit 754b47e1 authored by Stefan H. Holek's avatar Stefan H. Holek

Make the monkey-patch work with Python 2.3.

parent 84eb6837
......@@ -95,6 +95,7 @@ def search_function(encoding):
import encodings
import encodings.aliases # Python 2.3
encodings._aliases = encodings.aliases.aliases
encodings.search_function.func_code = search_function.func_code
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