diff options
Diffstat (limited to 'python/python-dateutil/python-dateutil-2.1-open-utf-8.patch')
-rw-r--r-- | python/python-dateutil/python-dateutil-2.1-open-utf-8.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/python/python-dateutil/python-dateutil-2.1-open-utf-8.patch b/python/python-dateutil/python-dateutil-2.1-open-utf-8.patch deleted file mode 100644 index 7b1784378f..0000000000 --- a/python/python-dateutil/python-dateutil-2.1-open-utf-8.patch +++ /dev/null @@ -1,20 +0,0 @@ -=== modified file 'setup.py' ---- setup.py 2012-04-29 13:32:22 +0000 -+++ setup.py 2012-04-29 13:34:16 +0000 -@@ -1,5 +1,6 @@ - #!/usr/bin/python - from os.path import isfile, join -+import codecs - import glob - import os - import re -@@ -13,7 +14,7 @@ - - TOPDIR = os.path.dirname(__file__) or "." - VERSION = re.search('__version__ = "([^"]+)"', -- open(TOPDIR + "/dateutil/__init__.py").read()).group(1) -+ codecs.open(TOPDIR + "/dateutil/__init__.py", encoding='utf-8').read()).group(1) - - - setup(name="python-dateutil", - |