[Checkins] SVN: zope.app.fssync/branches/achapman-tests-pass/src/zope/app/fssync/ssh.py tolerate the more restrictive object.__new__

Fred Drake fdrake at gmail.com
Mon Oct 18 16:01:22 EDT 2010


Log message for revision 117733:
  tolerate the more restrictive object.__new__
  

Changed:
  U   zope.app.fssync/branches/achapman-tests-pass/src/zope/app/fssync/ssh.py

-=-
Modified: zope.app.fssync/branches/achapman-tests-pass/src/zope/app/fssync/ssh.py
===================================================================
--- zope.app.fssync/branches/achapman-tests-pass/src/zope/app/fssync/ssh.py	2010-10-18 20:00:36 UTC (rev 117732)
+++ zope.app.fssync/branches/achapman-tests-pass/src/zope/app/fssync/ssh.py	2010-10-18 20:01:21 UTC (rev 117733)
@@ -66,8 +66,7 @@
         if host_port in cls.clients:
             return cls.clients[host_port]
         else:
-            cls.clients[host_port] = object.__new__(
-                cls, host_port, user_passwd)
+            cls.clients[host_port] = object.__new__(cls)
             return cls.clients[host_port]
 
     def __init__(self, host_port, user_passwd=None):



More information about the checkins mailing list