fix typo in call to __version__
This commit is contained in:
parent
cdf9916906
commit
23977a90de
@ -178,7 +178,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("%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):
|
def set_config(option, opt_str, value, parser, config):
|
||||||
config.set('pungi', option.dest, value)
|
config.set('pungi', option.dest, value)
|
||||||
|
Loading…
Reference in New Issue
Block a user