Exemple #1
0
 def __init__(self, msg, resp):
     TahoeError.__init__(self, format_http_error(msg, resp))
Exemple #2
0
 def __init__(self, name):
     TahoeError.__init__(
         self, "No such file or directory %s" % quote_output(name))
Exemple #3
0
 def __init__(self, msg, resp):
     TahoeError.__init__(self, format_http_error(msg, resp))
Exemple #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)
Exemple #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))
Exemple #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)
Exemple #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))
Exemple #8
0
 def __init__(self, name, quotefn=quote_output):
     TahoeError.__init__(self, "No such file or directory %s" % quotefn(name))