コード例 #1
0
 def __init__(self, msg, resp):
     TahoeError.__init__(self, format_http_error(msg, resp))
コード例 #2
0
ファイル: tahoe_cp.py プロジェクト: sarciszewski/tahoe-lafs
 def __init__(self, name):
     TahoeError.__init__(
         self, "No such file or directory %s" % quote_output(name))
コード例 #3
0
ファイル: common_http.py プロジェクト: tahoe-lafs/tahoe-lafs
 def __init__(self, msg, resp):
     TahoeError.__init__(self, format_http_error(msg, resp))
コード例 #4
0
ファイル: tahoe_cp.py プロジェクト: tahoe-lafs/tahoe-lafs
 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
ファイル: tahoe_cp.py プロジェクト: tahoe-lafs/tahoe-lafs
 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
ファイル: tahoe_cp.py プロジェクト: tahoe-lafs/tahoe-lafs
 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
ファイル: tahoe_cp.py プロジェクト: tahoe-lafs/tahoe-lafs
 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
ファイル: tahoe_cp.py プロジェクト: tahoe-lafs/tahoe-lafs
 def __init__(self, name, quotefn=quote_output):
     TahoeError.__init__(self, "No such file or directory %s" % quotefn(name))