[conduit/syncml: 81/244] Need to DP.__init__ before can call update_configuration



commit f3b44665dac7ce938fab0c0f10a1f8db757cbcb2
Author: John Carr <john carr unrouted co uk>
Date:   Fri Apr 24 04:22:30 2009 -0700

    Need to DP.__init__ before can call update_configuration
---
 conduit/modules/SyncmlModule/SyncmlModule.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/conduit/modules/SyncmlModule/SyncmlModule.py b/conduit/modules/SyncmlModule/SyncmlModule.py
index baab9f1..e353f18 100644
--- a/conduit/modules/SyncmlModule/SyncmlModule.py
+++ b/conduit/modules/SyncmlModule/SyncmlModule.py
@@ -241,11 +241,11 @@ class HttpClient(SyncmlDataProvider):
     _configurable_ = True
 
     def __init__(self):
+        SyncmlDataProvider.__init__(self, self._address_)
         self.update_configuration(
             username = "",
             password = ""
         )
-        SyncmlDataProvider.__init__(self, self._address_)
 
     def _setup_connection(self):
         err = pysyncml.Error()



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]