mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-24 13:05:50 +00:00
Fix mis-merge: don't try to stripe argv[0] twice
This commit is contained in:
parent
ffbcbf78a7
commit
5f6ae1f8f5
@ -325,7 +325,8 @@ def _run_with_reactor(reactor, config, argv, stdout, stderr):
|
||||
:param twisted.python.usage.Options config: The config object to use to
|
||||
parse the argument list.
|
||||
|
||||
:param argv: See ``run``.
|
||||
:param [str] argv: The argument list to parse, *excluding* the name of the
|
||||
program being run.
|
||||
|
||||
:param stdout: See ``run``.
|
||||
:param stderr: See ``run``.
|
||||
@ -334,7 +335,7 @@ def _run_with_reactor(reactor, config, argv, stdout, stderr):
|
||||
"""
|
||||
_setup_coverage(reactor, argv)
|
||||
|
||||
argv = list(map(argv_to_unicode, argv[1:]))
|
||||
argv = list(map(argv_to_unicode, argv))
|
||||
d = defer.maybeDeferred(
|
||||
parse_or_exit_with_explanation_with_config,
|
||||
config,
|
||||
|
Loading…
x
Reference in New Issue
Block a user