diff options
author | Ivan Alejandro <ivanalejandro0@gmail.com> | 2014-04-28 18:19:36 -0300 |
---|---|---|
committer | Ivan Alejandro <ivanalejandro0@gmail.com> | 2014-05-21 14:49:39 -0300 |
commit | 72b7d49966637c019e97fae7f186774097e5e96f (patch) | |
tree | 4571cfdd068196e921364363f12dd281b38d1381 /src/leap/bitmask/services/mail | |
parent | e9df1f8bb233bebee602fa11d6702eb97d8a7d7c (diff) |
Refactor SoledadBootstrapper to backend.
Diffstat (limited to 'src/leap/bitmask/services/mail')
-rw-r--r-- | src/leap/bitmask/services/mail/conductor.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/leap/bitmask/services/mail/conductor.py b/src/leap/bitmask/services/mail/conductor.py index 1766a39d..b4e97ac1 100644 --- a/src/leap/bitmask/services/mail/conductor.py +++ b/src/leap/bitmask/services/mail/conductor.py @@ -72,11 +72,9 @@ class IMAPControl(object): from leap.bitmask.config import flags logger.debug('Starting imap service') - leap_assert(sameProxiedObjects(self._soledad, None) - is not True, + leap_assert(not sameProxiedObjects(self._soledad, None), "We need a non-null soledad for initializing imap service") - leap_assert(sameProxiedObjects(self._keymanager, None) - is not True, + leap_assert(not sameProxiedObjects(self._keymanager, None), "We need a non-null keymanager for initializing imap " "service") |