Commit 1eae380b authored by Sriram Karra's avatar Sriram Karra

Heavy lifting to make EX-EX sync possible

parent 92eee9b4
......@@ -550,11 +550,7 @@ class Asynk:
pass
def login_ex (self):
from pimdb_ex import EXPIMDB
pimex = EXPIMDB(self.get_config(), self.get_exuser(), self.get_expw(),
self.get_store_id('ex'))
return pimex
pass
def _get_validated_pname (self):
conf = self.get_config()
......
......@@ -307,6 +307,14 @@ class EXCollection(Collection):
Collection.__init__(self, config=config, dbid='ex', stid=stid, fid=fid,
pname=pname, colln=colln)
def login (self):
from pimdb_ex import EXPIMDB
pimex = EXPIMDB(self.get_config(), self.get_username(), self.get_pwd(),
self.get_stid())
## FIXME: Need better error handling
return self.set_db(pimex)
def force_username (self):
return True
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment