Skip to content

Commit 5bf40f2

Browse files
committed
Workaround unknown bug
1 parent 69c1bb5 commit 5bf40f2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

sassutils/distutils.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,11 @@ def check_readme(self):
159159
except AttributeError:
160160
pass
161161
else:
162-
self.filelist.extend(os.path.join(*pair) for pair in files)
162+
try:
163+
join = os.path.join
164+
except AttributeError:
165+
from os.path import join # XXX: workaround
166+
self.filelist.extend(join(*pair) for pair in files)
163167
return self._wrapped_check_readme()
164168
sdist._wrapped_check_readme = sdist.check_readme
165169
sdist.check_readme = check_readme

0 commit comments

Comments
 (0)