From f50da399db71931592fbe05de4c4288a58380841 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Mon, 24 Sep 2018 08:35:52 -0700 Subject: [PATCH] Fix sdist with data files change in #261 --- sassutils/distutils.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/sassutils/distutils.py b/sassutils/distutils.py index 1ea9b129..52b19c67 100644 --- a/sassutils/distutils.py +++ b/sassutils/distutils.py @@ -193,11 +193,8 @@ def check_readme(self): except AttributeError: pass else: - try: - join = os.path.join - except AttributeError: - from os.path import join # XXX: workaround - self.filelist.extend(join(*pair) for pair in files) + for _, css_files in files: + self.filelist.extend(css_files) return self._wrapped_check_readme() sdist._wrapped_check_readme = sdist.check_readme sdist.check_readme = check_readme