From cdb51001a8302e2948a42c68654550be1e2f941d Mon Sep 17 00:00:00 2001 From: "Stefan H. Holek" Date: Mon, 12 Nov 2012 22:56:15 +0100 Subject: No need for repr as path is always str. --HG-- branch : distribute extra : rebase_source : 6784f7ac37d43a341bb8b2466fbf68a082af2bee --- setuptools/command/egg_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setuptools/command/egg_info.py') diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py index 085a499b..6145d6ea 100755 --- a/setuptools/command/egg_info.py +++ b/setuptools/command/egg_info.py @@ -291,7 +291,7 @@ class FileList(_FileList): if os.path.exists(path.encode('utf-8')): self.files.append(path) else: - log.warn("%r not %s encodable -- skipping", path, + log.warn("'%s' not %s encodable -- skipping", path, sys.getfilesystemencoding()) else: if os.path.exists(path): -- cgit v1.2.1