[Zope-CVS] CVS: Packages/SFTPGateway/src/sftpgateway - connector.py:1.32

Fred L. Drake, Jr. fred at zope.com
Mon Dec 22 11:05:06 EST 2003


Update of /cvs-repository/Packages/SFTPGateway/src/sftpgateway
In directory cvs.zope.org:/tmp/cvs-serv29817

Modified Files:
	connector.py 
Log Message:
remove _queueCommand; just inline the one call it makes


=== Packages/SFTPGateway/src/sftpgateway/connector.py 1.31 => 1.32 ===
--- Packages/SFTPGateway/src/sftpgateway/connector.py:1.31	Mon Dec 22 10:46:01 2003
+++ Packages/SFTPGateway/src/sftpgateway/connector.py	Mon Dec 22 11:05:05 2003
@@ -92,12 +92,9 @@
         else:
             return function(ftpClient, *args, **kw)
 
-    def _queueCommand(self, ftpClient, cmd):
-        return ftpClient.queueStringCommand(cmd)
-
     def _runPathCommand(self, ftpClient, cmd, path, handle_errors=True):
         cmd = "%s %s" % (cmd, ftpClient.escapePath(path))
-        d = self._queueCommand(ftpClient, cmd)
+        d = ftpClient.queueStringCommand(cmd)
         if handle_errors:
             d.addErrback(self.checkErrors, path)
         return d




More information about the Zope-CVS mailing list