From bf92050747c9b6b8078084e31d55a028c7296a94 Mon Sep 17 00:00:00 2001 From: Ragner Magalhaes Date: Tue, 2 Dec 2008 21:17:08 +0000 Subject: [PATCH] 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 --- account.pyx | 4 ++++ 1 file changed, 4 insertions(+) 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] -- 1.7.9.5