dev-python/python-dateutil: Removed old.

Package-Manager: portage-2.3.2
This commit is contained in:
Lars Wendler
2016-11-30 11:18:55 +01:00
parent dca5b1b7d4
commit 04f3985d84
6 changed files with 0 additions and 187 deletions

View File

@@ -1,21 +0,0 @@
Fix UnicodeDecodeError in setup.py.
https://bugs.gentoo.org/show_bug.cgi?id=410725
--- setup.py
+++ setup.py
@@ -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",