diff options
author | Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> | 2010-08-12 14:20:14 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> | 2010-08-20 13:33:54 (GMT) |
commit | fdfacaf26f6259afd305afba1b7de221d60bcfd8 (patch) | |
tree | 61b34a949ddfc1c7e7d4ece21c0e71f888f999c4 /src/sugar/presence/activity.py | |
parent | fab271ac9c5cb0b91af0c58f3a27eb2f5249357b (diff) |
Misc. pylint fixes
Diffstat (limited to 'src/sugar/presence/activity.py')
-rw-r--r-- | src/sugar/presence/activity.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sugar/presence/activity.py b/src/sugar/presence/activity.py index 6d94089..0def0c8 100644 --- a/src/sugar/presence/activity.py +++ b/src/sugar/presence/activity.py @@ -1,4 +1,5 @@ # Copyright (C) 2007, Red Hat, Inc. +# Copyright (C) 2010 Collabora Ltd. <http://www.collabora.co.uk/> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -97,6 +98,7 @@ class Activity(gobject.GObject): self.room_handle = room_handle self._join_command = None + self._share_command = None self._id = properties.get('id', None) self._color = properties.get('color', None) self._name = properties.get('name', None) @@ -692,7 +694,7 @@ class _JoinCommand(_BaseCommand): 'private': True, # don't appear in server room lists } props_to_set = [] - for ident, name, sig, flags in prop_specs: + for ident, name, sig_, flags in prop_specs: value = props.pop(name, None) if value is not None: if flags & PROPERTY_FLAG_WRITE: |