diff options
author | David McMackins II <contact@mcmackins.org> | 2015-07-14 12:43:42 -0500 |
---|---|---|
committer | David McMackins II <contact@mcmackins.org> | 2015-07-14 12:43:42 -0500 |
commit | 7e0d51bbc19133933e358a73c4dd151b0ca621cd (patch) | |
tree | 7a0059c7a02e42905c5c10e0d4ff1b2088a08330 | |
parent | 85b48e18e6434713c9ab90683767375ab9b937ab (diff) |
Fix syntax error
-rw-r--r-- | jarsnap.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -25,7 +25,7 @@ from sys import argv from tempfile import gettempdir __title__ = 'jarsnap.py' -__version__ = '1.0.0' +__version__ = '1.0.1' __author__ = 'David McMackins II' def make_fat_jar(jars, main_class, output_path='fat.jar'): @@ -39,8 +39,8 @@ 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: {}'.format(__title__, __version__) - 'Main-Class: {}\r\n\r\n'.format(main_class)) + + 'X-Comment: {}'.format(__title__, __version__) + + 'Main-Class: {}\r\n\r\n'.format(main_class)) out_name = make_archive(output_path, 'zip', root_dir=work) rename(out_name, output_path) |