diff options
author | Louis-Francis Ratté-Boulianne <louis-francis.ratte-boulianne@collabora.co.uk> | 2010-11-09 16:08:54 -0500 |
---|---|---|
committer | Louis-Francis Ratté-Boulianne <louis-francis.ratte-boulianne@collabora.co.uk> | 2010-12-03 15:50:39 -0500 |
commit | 13ed7e8dd2186bfe1c3c1301ba608f7e79592649 (patch) | |
tree | 82b6ff06e98f1d816f01a097c7856f522384dbbb | |
parent | 9da6330d0fda5e5dbe5e9ece390aa5e6e80fc5cc (diff) |
style: prepend protected method with underscore
-rw-r--r-- | butterfly/capabilities.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/butterfly/capabilities.py b/butterfly/capabilities.py index b46ad1e..5b7a4d9 100644 --- a/butterfly/capabilities.py +++ b/butterfly/capabilities.py @@ -197,7 +197,7 @@ class ButterflyCapabilities( return None - def add_default_capabilities(self, contacts_handles): + def _add_default_capabilities(self, contacts_handles): """Add the default capabilities to these contacts.""" ret = [] cc_ret = dbus.Dictionary({}, signature='ua(a{sv}as)') @@ -282,7 +282,7 @@ class ButterflyCapabilities( handle = ButterflyHandleFactory(self, 'contact', contact.account, contact.network_id) handles.add(handle) - self.add_default_capabilities(handles) + self._add_default_capabilities(handles) # These caps were updated before we were online. for caps in self._update_capabilities_calls: |