parent
fcf9c5b2ba
commit
bf099333b5
|
@ -189,7 +189,7 @@ class OpenGnSysWorker(ServerWorker):
|
||||||
if os.path.isfile(new_hosts_file):
|
if os.path.isfile(new_hosts_file):
|
||||||
shutil.copyfile(new_hosts_file, hosts_file)
|
shutil.copyfile(new_hosts_file, hosts_file)
|
||||||
|
|
||||||
logger.info ('onActivation ok')
|
logger.debug ('onActivation ok')
|
||||||
|
|
||||||
def onDeactivation(self):
|
def onDeactivation(self):
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -158,7 +158,7 @@ class CommonService(object):
|
||||||
validMods.append(mod)
|
validMods.append(mod)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.exception()
|
logger.exception()
|
||||||
logger.error("Activation of {} failed: {}".format(mod.name, exceptionToMessage(e)))
|
logger.debug("Activation of {} failed: {}".format(mod.name, exceptionToMessage(e)))
|
||||||
|
|
||||||
self.modules[:] = validMods # copy instead of assignment
|
self.modules[:] = validMods # copy instead of assignment
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue