diff --git a/bin/verify-manifest.py b/bin/verify-manifest.py index 94b3ad0..21cccb2 100644 --- a/bin/verify-manifest.py +++ b/bin/verify-manifest.py @@ -1,17 +1,19 @@ -import os, subprocess -import errno, sys +import os +import subprocess +import errno +import sys EXPECTED_OUTPUT = "lists of files in version control and sdist match" def check_manifest(): - os.chdir('..') - output = subprocess.check_output(["check-manifest"]).decode() - print(output) - if EXPECTED_OUTPUT == output.strip(): - return 1 - else: - sys.exit(2) + os.chdir('..') + output = subprocess.check_output(["check-manifest"]).decode() + print(output) + if EXPECTED_OUTPUT == output.strip(): + return 1 + else: + sys.exit(2) if __name__ == '__main__': - check_manifest() \ No newline at end of file + check_manifest()