mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-16 07:06:43 +00:00
common_http.py, tahoe_cp.py: Fix an error in calling the superclass constructor in HTTPError and MissingSourceError (introduced by the Unicode fixes).
This commit is contained in:
parent
faade8b20a
commit
731e3d68df
@ -83,4 +83,4 @@ def check_http_error(resp, stderr):
|
||||
|
||||
class HTTPError(TahoeError):
|
||||
def __init__(self, msg, resp):
|
||||
TahoeError.__init__(format_http_error(msg, resp))
|
||||
TahoeError.__init__(self, format_http_error(msg, resp))
|
||||
|
@ -29,7 +29,7 @@ def _put_local_file(pathname, inf):
|
||||
|
||||
class MissingSourceError(TahoeError):
|
||||
def __init__(self, name):
|
||||
TahoeError.__init__("No such file or directory %s" % quote_output(name))
|
||||
TahoeError.__init__(self, "No such file or directory %s" % quote_output(name))
|
||||
|
||||
|
||||
def GET_to_file(url):
|
||||
|
Loading…
x
Reference in New Issue
Block a user