Bump version to 1.2.0
Allow our default flavor of '' to be used.
This commit is contained in:
parent
a9c124e7e0
commit
8df58b56cb
2 changed files with 3 additions and 3 deletions
4
pungi
4
pungi
|
|
@ -119,7 +119,7 @@ if __name__ == '__main__':
|
|||
today = time.strftime('%Y%m%d', time.localtime())
|
||||
|
||||
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):
|
||||
config.set('default', option.dest, value)
|
||||
|
|
@ -175,7 +175,7 @@ if __name__ == '__main__':
|
|||
parser.print_help()
|
||||
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."
|
||||
sys.exit(1)
|
||||
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -2,7 +2,7 @@ from distutils.core import setup
|
|||
import glob
|
||||
|
||||
setup(name='pungi',
|
||||
version='1.1.10',
|
||||
version='1.2.0',
|
||||
description='Distribution compose tool',
|
||||
author='Jesse Keating',
|
||||
author_email='jkeating@redhat.com',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue