diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2014-05-15 23:33:46 -0400 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2014-05-15 23:33:46 -0400 |
| commit | c442269b78d994fb061afddc7a1314d96f91d487 (patch) | |
| tree | eff5f74f89934b7adb061c2cf77f1d2aca219193 /setuptools/command | |
| parent | 16cffb5544e37d9f30ce0b5f485fefb991633d1e (diff) | |
| download | python-setuptools-git-c442269b78d994fb061afddc7a1314d96f91d487.tar.gz | |
This code path doesn't make sense. If the UnicodeEncodeError occurred above, it will occur here too.
Diffstat (limited to 'setuptools/command')
| -rwxr-xr-x | setuptools/command/egg_info.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py index c9d4d82e..ed8e458a 100755 --- a/setuptools/command/egg_info.py +++ b/setuptools/command/egg_info.py @@ -214,10 +214,6 @@ class FileList(_FileList): if os.path.exists(path) or os.path.exists(path.encode('utf-8')): self.files.append(path) except UnicodeEncodeError: - # Accept UTF-8 filenames even if LANG=C - if os.path.exists(path.encode('utf-8')): - self.files.append(path) - else: log.warn("'%s' not %s encodable -- skipping", path, sys.getfilesystemencoding()) else: |
