diff options
author | David McMackins II <contact@mcmackins.org> | 2015-07-14 12:46:08 -0500 |
---|---|---|
committer | David McMackins II <contact@mcmackins.org> | 2015-07-14 12:46:08 -0500 |
commit | 0c5bbaeeb3485e3fc044263f958bb0555ce162fa (patch) | |
tree | 28ad17642af9a94a72d9a40e6a1bdd9861fd20f3 | |
parent | 6c96f008562a1c72464f05b08fe2597a096d3381 (diff) |
Fix missing version in manifest comment
-rw-r--r-- | jarsnap.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -39,7 +39,7 @@ def make_fat_jar(jars, main_class, output_path='fat.jar'): with open(join(work, 'META-INF', 'MANIFEST.MF'), 'w') as mf: mf.write('Manifest-Version: 1.0\r\n' - + 'X-Comment: {}\r\n'.format(__title__, __version__) + + 'X-Comment: {} {}\r\n'.format(__title__, __version__) + 'Main-Class: {}\r\n\r\n'.format(main_class)) out_name = make_archive(output_path, 'zip', root_dir=work) |