mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-22 02:16:42 +00:00
Fix check for initial '-' in argv_to_abspath.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
0789d295a6
commit
903c6f1d6c
@ -95,8 +95,6 @@ def argv_to_unicode(s):
|
||||
except UnicodeDecodeError:
|
||||
raise usage.UsageError("Argument %s cannot be decoded as %s." %
|
||||
(quote_output(s), io_encoding))
|
||||
if local_dir.startswith('-'):
|
||||
raise usage.UsageError("Argument %s cannot start with a -." % (quote_output(s),))
|
||||
|
||||
def argv_to_abspath(s, **kwargs):
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user