Bump version to 1.2.0
Allow our default flavor of '' to be used.
This commit is contained in:
parent
a9c124e7e0
commit
8df58b56cb
4
pungi
4
pungi
@ -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)
|
||||||
|
|
||||||
|
2
setup.py
2
setup.py
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user