diff options
author | Dan Williams <dcbw@redhat.com> | 2007-05-14 01:31:16 (GMT) |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2007-05-14 01:31:16 (GMT) |
commit | fddf1018852952e01064050da85642c5e32b9d99 (patch) | |
tree | a4435fe59b333399dfd1a44c92a78c7cd4b7982b /services | |
parent | de1796605f42db360a4f420e4701e8c563ec4187 (diff) |
Quiet error message when unecessary
Diffstat (limited to 'services')
-rw-r--r-- | services/presence/activity.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/services/presence/activity.py b/services/presence/activity.py index b93f4cd..10878a2 100644 --- a/services/presence/activity.py +++ b/services/presence/activity.py @@ -502,11 +502,11 @@ class Activity(ExportedGObject): if _PROP_TYPE in rprops.keys(): type = rprops[_PROP_TYPE] - # Type can never be changed after first set - if self._type: - logging.debug("Activity type changed by network; this is illegal") - else: - if type != self._type: + if type != self._type: + # Type can never be changed after first set + if self._type: + logging.debug("Activity type changed by network; this is illegal") + else: self._type = type changed = True |