Esempio n. 1
0
 def __init__(self, msg, resp):
     TahoeError.__init__(self, format_http_error(msg, resp))
Esempio n. 2
0
 def __init__(self, name):
     TahoeError.__init__(
         self, "No such file or directory %s" % quote_output(name))
Esempio n. 3
0
 def __init__(self, msg, resp):
     TahoeError.__init__(self, format_http_error(msg, resp))
Esempio n. 4
0
 def __init__(self, absname):
     quoted = quote_local_unicode_path(absname)
     TahoeError.__init__(
         self,
         "source '%s' is neither a file nor a directory, I can't handle it"
         % quoted)
Esempio n. 5
0
 def __init__(self, name, quotefn=quote_output):
     TahoeError.__init__(
         self, "source '%s' is not a directory, but ends with a slash" %
         quotefn(name))
Esempio n. 6
0
 def __init__(self, absname):
     quoted = quote_local_unicode_path(absname)
     TahoeError.__init__(self, "source '%s' is neither a file nor a directory, I can't handle it" % quoted)
Esempio n. 7
0
 def __init__(self, name, quotefn=quote_output):
     TahoeError.__init__(self, "source '%s' is not a directory, but ends with a slash" % quotefn(name))
Esempio n. 8
0
 def __init__(self, name, quotefn=quote_output):
     TahoeError.__init__(self, "No such file or directory %s" % quotefn(name))