Skip to content

Commit

Permalink
Trivial missed return that just resulted in a printed error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Oct 27, 2017
1 parent 1178b05 commit 96b0b61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/zope/server/ftp/server.py
Expand Up @@ -445,6 +445,7 @@ def cmd_rnto(self, args):
path = self._generatePath(args)
if self._rnfr is None:
self.reply('ERR_RENAME')
return
try:
self._getFileSystem().rename(self._rnfr, path)
except OSError as err:
Expand Down

0 comments on commit 96b0b61

Please sign in to comment.