From 439b559967b989867628559af03f4b40a36e65de 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: Tue, 16 Feb 2010 10:40:41 +0300 Subject: [PATCH] Modified format gconf (Gnome applications) --- pym/cl_profile.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pym/cl_profile.py b/pym/cl_profile.py index 414e64d..b1ab518 100644 --- a/pym/cl_profile.py +++ b/pym/cl_profile.py @@ -6571,12 +6571,12 @@ the same nodes at one level") lenData = len(data) lenM2 = lenData - 2 for i in xrange(lenData): + if z>0: + z -= 1 + continue if i < lenM2 and data[i].endswith(">") and not "<" in data[i+1]: dataOut.append(data[i] + data[i+1].strip() + data[i+2].strip()) z = 2 continue - if z>0: - z -= 1 - continue dataOut.append(data[i]) return "\n".join(dataOut)