Fixing set_protocol_options(...) to verify keys
Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
Acked-by: Ricardo Guimaraes <ricardo.guimaraes@indt.org.br>
Acked-by: Dinorah Monteiro <dinorah.monteiro@indt.org.br>
git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1436
596f6dd7-e928-0410-a184-
9e12fd12cf7e
sett = str(<char *> setting)
+ if not po.has_key(sett):
+ iter = iter.next
+ continue
+
if type == prefs.PURPLE_PREF_STRING:
str_value = <char *> po[sett]