From cc4bdf92e20e28b7890d4a97fd2720d7d527e220 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Fri, 6 Oct 2006 00:04:07 +0000 Subject: [PATCH] put a comment --- src/common/passwords.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/passwords.py b/src/common/passwords.py index 316a69310..577913e81 100644 --- a/src/common/passwords.py +++ b/src/common/passwords.py @@ -60,14 +60,14 @@ class GnomePasswordStorage(object): auth_token = gnomekeyring.item_create_sync( self.keyring, gnomekeyring.ITEM_GENERIC_SECRET, display_name, attributes, password, update) - token = 'gnomekeyring:%i' % (auth_token,) + token = 'gnomekeyring:%i' % auth_token gajim.config.set_per('accounts', account_name, 'password', token) storage = None def get_storage(): global storage - if storage is None: + if storage is None: # None is only in first time get_storage is called if USER_HAS_GNOMEKEYRING: #FIXME: detect if we're running under GNOME or not #before deciding to use the GnomeKeyring backend