PEP8-friendliness, spaces instead of tabs
This commit is contained in:
1 parent
ebf5caab01
commit
fff3947b16
1 file changed
+12
-10
+12
-10
@@ -1,17 +1,19 @@
|
|||||||
import os, subprocess
|
import os
|
||||||
import errno, sys
|
import subprocess
|
||||||
|
import errno
|
||||||
|
import sys
|
||||||
|
|
||||||
EXPECTED_OUTPUT = "lists of files in version control and sdist match"
|
EXPECTED_OUTPUT = "lists of files in version control and sdist match"
|
||||||
|
|
||||||
|
|
||||||
def check_manifest():
|
def check_manifest():
|
||||||
os.chdir('..')
|
os.chdir('..')
|
||||||
output = subprocess.check_output(["check-manifest"]).decode()
|
output = subprocess.check_output(["check-manifest"]).decode()
|
||||||
print(output)
|
print(output)
|
||||||
if EXPECTED_OUTPUT == output.strip():
|
if EXPECTED_OUTPUT == output.strip():
|
||||||
return 1
|
return 1
|
||||||
else:
|
else:
|
||||||
sys.exit(2)
|
sys.exit(2)
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
check_manifest()
|
check_manifest()
|
||||||
Reference in new issue
Block a user