* removed debug messages

* and yes it's tested
This commit is contained in:
age 2007-02-08 12:22:54 +00:00
parent fd00cf0d83
commit 2565f92413

View file

@ -330,13 +330,9 @@ class network(cryptobox.plugins.base.CryptoBoxPlugin):
def __get_interface(self):
"""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"]:
self.cbox.log.error(DEFAULT_INTERFACE)
return self.defaults["network"]["interface"]
else:
self.cbox.log.error(DEFAULT_INTERFACE)
return DEFAULT_INTERFACE