Write test for cftp._cbPutTargetAttrs or remove untested / unused code.
|Reported by:||adiroiban||Owned by:||adiroiban|
(github, patch, buildbot, log)
$ pyflakes --version 0.7.3 $ pyflakes twisted/conch/ twisted/conch/scripts/cftp.py:431: undefined name 'files'
There is still an error which I would like to fix before merge, but I need help and I have no idea what is going on there... maybe this needs a separate ticket!
def _cbPutTargetAttrs(self, attrs, path, local): if not stat.S_ISDIR(attrs['permissions']): return "Wildcard put with non-directory target." return self._cbPutMultipleNext(None, **files**, path)
Change History (17)
Changed 2 years ago by adiroiban
Changed 18 months ago by adiroiban
comment:6 Changed 14 months ago by glyph
- Branch changed from branches/cftp-tests-7037 to branches/cftp-tests-7037-2
comment:8 Changed 14 months ago by adiroiban
- Keywords review added
- Owner adiroiban deleted
Note: See TracTickets for help on using tickets.