From 41f112654ddfa44431684b67f57971e00c279dda Mon Sep 17 00:00:00 2001 From: asamoukin Date: Fri, 22 Aug 2008 14:08:40 +0000 Subject: [PATCH] git-svn-id: http://svn.calculate.ru/calculate2/calculate-lib/trunk@135 c91db197-33c1-4113-bf15-f8a5c547ca64 --- README | 2 ++ pym/cl_utils2.py | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README b/README index 061dea2..7e21ab2 100644 --- a/README +++ b/README @@ -6,6 +6,8 @@ INSTALL calculate-lib needs the following library version installed, in order to run: Python >= 2.3 python-ldap >= 2.0.0 + pyxml >= 0.8 + calculate-lib >= 0.0.1 To install calculate-lib , just execute the install script 'setup.py'. Example: diff --git a/pym/cl_utils2.py b/pym/cl_utils2.py index 26463dd..b09455e 100644 --- a/pym/cl_utils2.py +++ b/pym/cl_utils2.py @@ -59,7 +59,7 @@ class cl_params: if par.has_key("shortOption"): if self.access(par): sp.append(par["shortOption"]) - sp.sort() + #sp.sort() for shortOption in sp: for par in self.data: if par.has_key("shortOption") and self.access(par): @@ -108,7 +108,7 @@ class cl_params: if visibleChapter: help += nameChapter + ": " + bef help += self.chapterBloc[numChapter] + aft - return help + return help.encode("UTF-8") def addChapterHelp(self,numChapter,helpTxt): # Добавить в раздел помощи numChapteк тектстовую строку helpTxt