diff options
author | kali <kali@leap.se> | 2012-10-10 04:23:34 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2012-10-10 04:23:34 +0900 |
commit | 83bff4cad1e4345eb534cef28ea464b0b5a5e2fd (patch) | |
tree | a69faf733244797c9fc180da6bfe17480e931b0f /src/leap/eip/eipconnection.py | |
parent | f043f9087232a416bf9fa7dbb0b8f9b6f4e0a04e (diff) |
fix failing test on test_eipconnection
Closes #738
Diffstat (limited to 'src/leap/eip/eipconnection.py')
-rw-r--r-- | src/leap/eip/eipconnection.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/leap/eip/eipconnection.py b/src/leap/eip/eipconnection.py index a5b59892..2750d641 100644 --- a/src/leap/eip/eipconnection.py +++ b/src/leap/eip/eipconnection.py @@ -54,6 +54,7 @@ class EIPConnection(OpenVPNConnection): run all eip checks previous to attempting a connection """ logger.debug('running conductor checks') + print 'conductor checks!' def push_err(exc): # keep the original traceback! @@ -62,14 +63,16 @@ class EIPConnection(OpenVPNConnection): try: # network (1) - for signal in self.checker_signals: - signal('checking encryption keys') + if self.checker_signals: + for signal in self.checker_signals: + signal('checking encryption keys') self.provider_cert_checker.run_all(skip_verify=skip_verify) except Exception as exc: push_err(exc) try: - for signal in self.checker_signals: - signal('checking provider config') + if self.checker_signals: + for signal in self.checker_signals: + signal('checking provider config') self.config_checker.run_all(skip_download=skip_download) except Exception as exc: push_err(exc) |