Release 0.4.17:
- Device Manager: logging improved. Change-Id: I2bbe749e79af1d2e335e31616d4209f05b6a05f3
This commit is contained in:
parent
f4d662beb7
commit
e154bf682d
|
@ -262,7 +262,7 @@ class DeviceManager(Module.Module):
|
|||
LOG.info("--> overwrite iotronic.conf: True")
|
||||
command = command + " && lr_install"
|
||||
|
||||
print("\nUpgrading LR: " + str(command))
|
||||
LOG.info("--> command: " + str(command))
|
||||
|
||||
def upgradingLR():
|
||||
|
||||
|
@ -351,7 +351,12 @@ class DeviceManager(Module.Module):
|
|||
except Exception as err:
|
||||
LOG.error("Error in parameters: " + str(err))
|
||||
|
||||
w_msg = WM.WampRunning(msg="LR upgrading...", req_id=req_id)
|
||||
if version == None:
|
||||
version = "latest"
|
||||
|
||||
out_msg = "LR upgrading to " + str(version) + " version..."
|
||||
|
||||
w_msg = WM.WampRunning(msg=out_msg, req_id=req_id)
|
||||
|
||||
return w_msg.serialize()
|
||||
|
||||
|
|
Loading…
Reference in New Issue