[conduit/syncml: 83/244] Check we are configured
- From: John Carr <johncarr src gnome org>
- To: svn-commits-list gnome org
- Subject: [conduit/syncml: 83/244] Check we are configured
- Date: Thu, 21 May 2009 05:52:19 -0400 (EDT)
commit 4dae104777c8a66fd924c13ca3356a2a9bda10b5
Author: John Carr <john carr unrouted co uk>
Date: Fri Apr 24 06:08:30 2009 -0700
Check we are configured
---
conduit/modules/SyncmlModule/SyncmlModule.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/conduit/modules/SyncmlModule/SyncmlModule.py b/conduit/modules/SyncmlModule/SyncmlModule.py
index 7bda0c2..7e062e9 100644
--- a/conduit/modules/SyncmlModule/SyncmlModule.py
+++ b/conduit/modules/SyncmlModule/SyncmlModule.py
@@ -268,6 +268,10 @@ class HttpClient(SyncmlDataProvider):
password = True
)
+ def is_configured(self, isSource, isTwoWay):
+ if len(self.username) > 0 and len(self.password) > 0:
+ return True
+ return False
class BluetoothClient(SyncmlDataProvider):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]