Commit 5bb3a8dc authored by Vincent Pelletier's avatar Vincent Pelletier

ERP5Type.ConnectionPlugin.SFTPConnection: Drop default parameters.

Drop parameters which are passed with default value.
parent 53d7b9d9
......@@ -111,7 +111,7 @@ class SFTPConnection:
filepath = os.path.join(path, filename)
serialized_data = Binary(str(data))
self.conn.putfo(StringIO(str(serialized_data)), filepath, 0, None, True)
self.conn.putfo(StringIO(str(serialized_data)), filepath)
except error, msg:
raise SFTPError(str(msg) + ' while writing file %s on %s' % (filepath, path, self.url))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment