From 034652e1b5308fecc716f4825ca91160792b12a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=D0=B0=D0=BC=D0=BE=D1=83=D0=BA=D0=B8=D0=BD=20=D0=90?= =?UTF-8?q?=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B9?= Date: Wed, 9 Dec 2009 15:11:13 +0300 Subject: [PATCH] Add support .. for format xml_gconf --- pym/cl_profile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pym/cl_profile.py b/pym/cl_profile.py index 98d41f9..53f8745 100644 --- a/pym/cl_profile.py +++ b/pym/cl_profile.py @@ -6347,7 +6347,7 @@ class xml_gconf(xml_xfce): # Комментарий _comment = ("") # поддерживаемые аттрибуты тега entry. Пример - supportEntryTypes = ("int", "bool", "float", "string", "list") + supportEntryTypes = ("int", "bool", "float", "string", "list", "pair") def __init__(self, text): self.text = text @@ -6464,7 +6464,7 @@ Valid values attribute 'action': \ oldNodes = xpath.Evaluate(findPath, workNode) # Новая нода список flagArray = False - if nType == "list": + if nType == "list" or nType == "pair": flagArray = True flagDrop = False flagJoin = True