fix typo in call to __version__

This commit is contained in:
Dennis Gilmore 2013-10-31 18:58:45 -05:00
parent cdf9916906
commit 23977a90de

View File

@ -178,7 +178,7 @@ if __name__ == '__main__':
today = time.strftime('%Y%m%d', time.localtime())
def get_arguments(config):
parser = OptionParser("%prog [--help] [options]", version="%prog %s" % pypungi.__version)
parser = OptionParser("%prog [--help] [options]", version="%prog %s" % pypungi.__version__)
def set_config(option, opt_str, value, parser, config):
config.set('pungi', option.dest, value)