Bump version to 1.2.0

Allow our default flavor of '' to be used.
This commit is contained in:
Jesse Keating 2007-12-03 13:49:11 -05:00 committed by Jesse Keating
parent a9c124e7e0
commit 8df58b56cb
2 changed files with 3 additions and 3 deletions

4
pungi
View File

@ -119,7 +119,7 @@ if __name__ == '__main__':
today = time.strftime('%Y%m%d', time.localtime()) today = time.strftime('%Y%m%d', time.localtime())
def get_arguments(config): def get_arguments(config):
parser = OptionParser(version="%prog 1.1.10") parser = OptionParser(version="%prog 1.2.0")
def set_config(option, opt_str, value, parser, config): def set_config(option, opt_str, value, parser, config):
config.set('default', option.dest, value) config.set('default', option.dest, value)
@ -175,7 +175,7 @@ if __name__ == '__main__':
parser.print_help() parser.print_help()
sys.exit(0) sys.exit(0)
if not config.get('default', 'flavor').isalnum(): if not config.get('default', 'flavor').isalnum() and not config.get('default', 'flavor') == '':
print >> sys.stderr, "Flavor must be alphanumeric." print >> sys.stderr, "Flavor must be alphanumeric."
sys.exit(1) sys.exit(1)

View File

@ -2,7 +2,7 @@ from distutils.core import setup
import glob import glob
setup(name='pungi', setup(name='pungi',
version='1.1.10', version='1.2.0',
description='Distribution compose tool', description='Distribution compose tool',
author='Jesse Keating', author='Jesse Keating',
author_email='jkeating@redhat.com', author_email='jkeating@redhat.com',