Skip to content

Commit

Permalink
Python 3: no tuple unpacking in funargs
Browse files Browse the repository at this point in the history
  • Loading branch information
mgedmin committed Oct 21, 2017
1 parent 34303c5 commit b459d60
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/zope/server/ftp/server.py
Expand Up @@ -487,8 +487,9 @@ def cmd_stor(self, args, write_mode='w'):
self.reply('OPEN_CONN', (self.type_map[self.transfer_mode], path))


def finishSTOR(self, buffer, (path, mode, start)):
def finishSTOR(self, buffer, finish_args):
"""Called by STORChannel when the client has sent all data."""
(path, mode, start) = finish_args
assert not self.async_mode
try:
infile = buffer.getfile()
Expand Down

0 comments on commit b459d60

Please sign in to comment.