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