From: Janos Kovacs Date: Wed, 14 Nov 2012 01:36:49 +0000 (+0200) Subject: daemon: fix the update method of test element in config script to cope with nil X-Git-Tag: accepted/2.0alpha/20121203.182640~87^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=84e366f0dba6b363ae330bbebc0952a2e9a915e4;p=profile%2Fivi%2Fmurphy.git daemon: fix the update method of test element in config script to cope with nil --- diff --git a/src/daemon/murphy.lua b/src/daemon/murphy.lua index 4ebac53..4483642 100644 --- a/src/daemon/murphy.lua +++ b/src/daemon/murphy.lua @@ -140,6 +140,11 @@ element.lua { } }, update = function(self) - print("*** element "..self.name.." update "..self.inputs.owner.single_value) + if (self.inputs.owner.single_value) then + print("*** element "..self.name.." update ".. + self.inputs.owner.single_value) + else + print("*** element "..self.name.." update ") + end end }