Skip to content

Commit 2a1ee9f

Browse files
committed
fixup! Import things from os.path to make setup.py more readable
1 parent 7906be4 commit 2a1ee9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
long_description = readme_file.read() + '\n' + changes_file.read()
2929

3030
version = None
31-
with open(os.path.join("html5lib", "__init__.py"), "rb") as init_file:
31+
with open(join("html5lib", "__init__.py"), "rb") as init_file:
3232
t = ast.parse(init_file.read(), filename="__init__.py", mode="exec")
3333
assert isinstance(t, ast.Module)
3434
assignments = filter(lambda x: isinstance(x, ast.Assign), t.body)

0 commit comments

Comments
 (0)