mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-20 00:30:57 +00:00
How does it go without the type check
This is for py36: > TypeError: helper_furl must be bytes, got 'pb://kl5iekm6itcyjejirxva2upthepsasnn@bogus:1234/frekgeq7gsongibyeuvzmvqoyf4h5pcx' instead
This commit is contained in:
parent
a403d25146
commit
fc1f43c7a3
@ -167,8 +167,6 @@ def make_uploader(helper_furl, parent, override_name=None):
|
||||
:param str override_name: If not ``None``, a new name for the uploader
|
||||
service. Multiple services cannot coexist with the same name.
|
||||
"""
|
||||
if not isinstance(helper_furl, bytes):
|
||||
raise TypeError("helper_furl must be bytes, got {!r} instead".format(helper_furl))
|
||||
u = upload.Uploader(helper_furl)
|
||||
if override_name is not None:
|
||||
u.name = override_name
|
||||
|
Loading…
x
Reference in New Issue
Block a user