From: Ragner Magalhaes Date: Tue, 2 Dec 2008 21:17:08 +0000 (+0000) Subject: Fixing set_protocol_options(...) to verify key X-Git-Url: http://git.maemo.org/git/?p=python-purple;a=commitdiff_plain;h=bf92050747c9b6b8078084e31d55a028c7296a94 Fixing set_protocol_options(...) to verify key Fixing set_protocol_options(...) to verify keys Signed-off-by: Ragner Magalhaes Acked-by: Ricardo Guimaraes Acked-by: Dinorah Monteiro git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1436 596f6dd7-e928-0410-a184-9e12fd12cf7e --- diff --git a/account.pyx b/account.pyx index dd324af..9af451e 100644 --- a/account.pyx +++ b/account.pyx @@ -283,6 +283,10 @@ cdef class Account: sett = str( setting) + if not po.has_key(sett): + iter = iter.next + continue + if type == prefs.PURPLE_PREF_STRING: str_value = po[sett]