[svn r79] Fix FileScheme's exception raising code.
This commit is contained in:
@@ -174,9 +174,7 @@ class FileScheme(object):
|
||||
def raise_connection_error(self, klass=None):
|
||||
if klass is None:
|
||||
klass=ConnectionError
|
||||
raise klass(
|
||||
self.method, self.host, self.port,
|
||||
self.path, self.status, self.reason, '')
|
||||
raise klass(_Params('file://' + self.path, self.method))
|
||||
|
||||
def close(self):
|
||||
"""We're challenged here, and read the whole file rather than
|
||||
|
Reference in New Issue
Block a user