mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-24 08:38:07 -07:00
dev-python/python-dateutil: remove old
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
diff --git dateutil/parser.py~ dateutil/parser.py
|
||||
index 8b6c2d28b8..75453ef49e 100644
|
||||
--- dateutil/parser.py~
|
||||
+++ dateutil/parser.py
|
||||
@@ -32,7 +32,7 @@ __all__ = ["parse", "parserinfo"]
|
||||
class _timelex(object):
|
||||
|
||||
def __init__(self, instream):
|
||||
- if isinstance(instream, text_type):
|
||||
+ if not hasattr(instream, 'read'):
|
||||
instream = StringIO(instream)
|
||||
self.instream = instream
|
||||
self.wordchars = ('abcdfeghijklmnopqrstuvwxyz'
|
||||
Reference in New Issue
Block a user