libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r1452670 - /libcloud/trunk/libcloud/common/gandi.py
Date Tue, 05 Mar 2013 04:57:29 GMT
Author: tomaz
Date: Tue Mar  5 04:57:28 2013
New Revision: 1452670

URL: http://svn.apache.org/r1452670
Log:
Fix the argument weirdness. Second argument is 'secure' not weird and unused
'password'.

Modified:
    libcloud/trunk/libcloud/common/gandi.py

Modified: libcloud/trunk/libcloud/common/gandi.py
URL: http://svn.apache.org/viewvc/libcloud/trunk/libcloud/common/gandi.py?rev=1452670&r1=1452669&r2=1452670&view=diff
==============================================================================
--- libcloud/trunk/libcloud/common/gandi.py (original)
+++ libcloud/trunk/libcloud/common/gandi.py Tue Mar  5 04:57:28 2013
@@ -57,12 +57,12 @@ class GandiConnection(XMLRPCConnection, 
     host = 'rpc.gandi.net'
     endpoint = '/xmlrpc/'
 
-    def __init__(self, key, password=None):
+    def __init__(self, key, secure=True):
         # Note: Method resolution order in this case is
         # XMLRPCConnection -> Connection and Connection doesn't take key as the
         # first argument so we specify a keyword argument instead.
         # Previously it was GandiConnection -> ConnectionKey so it worked fine.
-        super(GandiConnection, self).__init__(key=key)
+        super(GandiConnection, self).__init__(key=key, secure=secure)
         self.driver = BaseGandiDriver
 
     def request(self, method, *args):



Mime
View raw message