diff options
Diffstat (limited to 'scripts/make_version.py')
-rw-r--r-- | scripts/make_version.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/scripts/make_version.py b/scripts/make_version.py index e64ef7d6..7a48018a 100644 --- a/scripts/make_version.py +++ b/scripts/make_version.py @@ -11,21 +11,21 @@ import argparse import os import sys -sys.path.append(os.path.join(os.path.dirname(__file__), '../klippy')) +sys.path.append(os.path.join(os.path.dirname(__file__), "../klippy")) import util def main(argv): p = argparse.ArgumentParser() - p.add_argument( - 'distroname', - help='Name of distro this package is intended for' - ) + p.add_argument("distroname", help="Name of distro this package is intended for") args = p.parse_args() - print(util.get_git_version(from_file=False)["version"], - args.distroname.replace(' ', ''), sep='-') + print( + util.get_git_version(from_file=False)["version"], + args.distroname.replace(" ", ""), + sep="-", + ) -if __name__ == '__main__': +if __name__ == "__main__": main(sys.argv[1:]) |