Skip to content

Commit 95904d2

Browse files
sandrotosiQuLogic
authored andcommitted
Fix undefined variable when using setup.py clean.
1 parent 087c74f commit 95904d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,9 @@ def run(self):
223223
with open('lib/matplotlib/mpl-data/matplotlibrc', 'w') as fd:
224224
fd.write(''.join(template_lines))
225225

226-
# Use Readme as long description
227-
with open('README.rst', encoding='utf-8') as fd:
228-
long_description = fd.read()
226+
# Use Readme as long description
227+
with open('README.rst', encoding='utf-8') as fd:
228+
long_description = fd.read()
229229

230230
# Finally, pass this all along to distutils to do the heavy lifting.
231231
setup(

0 commit comments

Comments
 (0)