Quiet error message when unecessary
This commit is contained in:
parent
de1796605f
commit
fddf101885
@ -502,11 +502,11 @@ class Activity(ExportedGObject):
|
|||||||
|
|
||||||
if _PROP_TYPE in rprops.keys():
|
if _PROP_TYPE in rprops.keys():
|
||||||
type = rprops[_PROP_TYPE]
|
type = rprops[_PROP_TYPE]
|
||||||
# Type can never be changed after first set
|
if type != self._type:
|
||||||
if self._type:
|
# Type can never be changed after first set
|
||||||
logging.debug("Activity type changed by network; this is illegal")
|
if self._type:
|
||||||
else:
|
logging.debug("Activity type changed by network; this is illegal")
|
||||||
if type != self._type:
|
else:
|
||||||
self._type = type
|
self._type = type
|
||||||
changed = True
|
changed = True
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user