mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 07:20:29 +03:00
remove all references to optparse (deprecated since Python 3.2)
This commit is contained in:
parent
717df09be0
commit
1e5699e90c
24 changed files with 115 additions and 93 deletions
|
|
@ -182,7 +182,7 @@ def main():
|
|||
"can not be specified at the same time."))
|
||||
sys.exit(1)
|
||||
|
||||
# Trick optparse into displaying the right usage when --help is used.
|
||||
# Trick argparse into displaying the right usage when --help is used.
|
||||
sys.argv[0] += ' ' + command
|
||||
|
||||
del sys.argv[1]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue