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