projects
/
pgweb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4805b4b
)
Use the proper set of arguments in docs loader
author
Magnus Hagander
<magnus@hagander.net>
Mon, 20 Jun 2022 18:30:55 +0000
(20:30 +0200)
committer
Magnus Hagander
<magnus@hagander.net>
Mon, 20 Jun 2022 18:32:05 +0000
(20:32 +0200)
We parsed it out using the options parser, but then when using it
required a hardcoded order on the commandline. That made no sense...
tools/docs/docload.py
patch
|
blob
|
blame
|
history
diff --git
a/tools/docs/docload.py
b/tools/docs/docload.py
index 5ececcb6b7b8b2f008eb576bc5477f1f8d909478..1807e214c8d5bdacb29c6d06545c81ea15c47742 100755
(executable)
--- a/
tools/docs/docload.py
+++ b/
tools/docs/docload.py
@@
-117,8
+117,8
@@
if verbose and quiet:
print("Can't be both verbose and quiet at the same time!")
sys.exit(1)
-ver =
sys.argv[1
]
-tarfilename =
sys.argv[2
]
+ver =
args[0
]
+tarfilename =
args[1
]
# load the configuration that is used to connect to the database
config = ConfigParser()