* removed debug messages
* and yes it's tested
This commit is contained in:
parent
fd00cf0d83
commit
2565f92413
|
@ -330,13 +330,9 @@ class network(cryptobox.plugins.base.CryptoBoxPlugin):
|
||||||
def __get_interface(self):
|
def __get_interface(self):
|
||||||
"""Return the name of the configured network interface
|
"""Return the name of the configured network interface
|
||||||
"""
|
"""
|
||||||
#self.cbox.log.debug("network plugin default config:")
|
|
||||||
#self.cbox.log.debug(self.defaults)
|
|
||||||
if "interface" in self.defaults["network"]:
|
if "interface" in self.defaults["network"]:
|
||||||
self.cbox.log.error(DEFAULT_INTERFACE)
|
|
||||||
return self.defaults["network"]["interface"]
|
return self.defaults["network"]["interface"]
|
||||||
else:
|
else:
|
||||||
self.cbox.log.error(DEFAULT_INTERFACE)
|
|
||||||
return DEFAULT_INTERFACE
|
return DEFAULT_INTERFACE
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue