10000 Reformat prepare-instances.py slightly to avoid pylint message R0801 · postgrespro/pg-mark@5f479c3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5f479c3

Browse files
committed
Reformat prepare-instances.py slightly to avoid pylint message R0801
1 parent dff7f7b commit 5f479c3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

prepare-instances.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,12 +193,10 @@ def get_repo_url(instance):
193193
if __name__ == "__main__":
194194
arg_parser = argparse.ArgumentParser()
195195
arg_parser.add_argument('-c', '--config', action='store',
196-
default='config.xml',
197-
help='configuration file')
196+
default='config.xml', help='configuration file')
198197
arg_parser.add_argument('-i', '--instance', nargs='+',
199198
dest='instances', metavar='INSTANCE-ID',
200-
default=[],
201-
help='instance(s) to create')
199+
default=[], help='instance(s) to create')
202200

203201
args = arg_parser.parse_args(sys.argv[1:])
204202
sys.exit(main(args.config, args.instances))

0 commit comments

Comments
 (0)
0