[telepathy-butterfly/master] Use a set instead of a list for the set of secret parameters

Youness Alaoui youness.alaoui at collabora.co.uk
Mon Oct 26 10:40:14 PDT 2009


---
 butterfly/connection.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/butterfly/connection.py b/butterfly/connection.py
index 32e2428..300d652 100644
--- a/butterfly/connection.py
+++ b/butterfly/connection.py
@@ -49,11 +49,11 @@ class ButterflyConnection(telepathy.server.Connection,
         papyon.event.InviteEventInterface,
         papyon.event.OfflineMessagesEventInterface):
 
-    _secret_parameters = [
+    _secret_parameters = set([
             'password',
             'http-proxy-password',
             'https-proxy-password'
-            ]
+            ])
     _mandatory_parameters = {
             'account' : 's',
             'password' : 's'
-- 
1.5.6.5



More information about the telepathy-commits mailing list