summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/services/mail/plumber.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2016-04-15 16:10:00 -0400
committerRuben Pollan <meskio@sindominio.net>2016-04-16 19:17:50 +0200
commit92f4b40ab48ec537aade244af3e3e4f2c17b1475 (patch)
tree917b7b3a2ce9f7d5da0fef229f77f5825da939ed /src/leap/bitmask/services/mail/plumber.py
parente442eb8a3acf8e6bbddaabe7af90cf66d2c755ac (diff)
[refactor] adapt to the new Account signature
Diffstat (limited to 'src/leap/bitmask/services/mail/plumber.py')
-rw-r--r--src/leap/bitmask/services/mail/plumber.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/bitmask/services/mail/plumber.py b/src/leap/bitmask/services/mail/plumber.py
index 43203f0c..cd1f06bb 100644
--- a/src/leap/bitmask/services/mail/plumber.py
+++ b/src/leap/bitmask/services/mail/plumber.py
@@ -60,6 +60,7 @@ def initialize_soledad(uuid, email, passwd,
cert_file = ""
class Mock(object):
+
def __init__(self, return_value=None):
self._return = return_value
@@ -140,7 +141,7 @@ class MBOXPlumber(object):
self.sol = initialize_soledad(
self.uuid, self.userid, self.passwd,
secrets, localdb, "/tmp", "/tmp")
- self.acct = IMAPAccount(self.userid, self.sol)
+ self.acct = IMAPAccount(self.sol, self.userid)
return True
#