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