mirror of
https://github.com/NaN-tic/tryton-upgrades.git
synced 2023-12-14 03:32:55 +01:00
PEP8.
This commit is contained in:
parent
b59022413e
commit
147cc695e2
6
upgrade
6
upgrade
|
@ -160,9 +160,11 @@ def process_actions(actions):
|
|||
run('upgrades/after/' + script, database_name, args.config)
|
||||
|
||||
|
||||
parser = argparse.ArgumentParser(description='Upgrade a Tryton database to the version of the trytond library available.')
|
||||
parser = argparse.ArgumentParser(description='Upgrade a Tryton database to the '
|
||||
'version of the trytond library available.')
|
||||
parser.add_argument('database', nargs=1, help='PostgreSQL database to upgrade')
|
||||
parser.add_argument('from_version', nargs=1, help='Tryton version of the database to be migrated')
|
||||
parser.add_argument('from_version', nargs=1, help='Tryton version of the '
|
||||
'database to be migrated')
|
||||
parser.add_argument('-c', '--config', default='trytond.conf',
|
||||
help='path to the trytond configuration file')
|
||||
parser.add_argument('-p', '--purge', action='store_true', dest='purge',
|
||||
|
|
Loading…
Reference in a new issue