Added use of the space character in conditional blocks.

develop
Самоукин Алексей 14 years ago
parent a67f6ba0d2
commit 2aeb9b25de

@ -102,13 +102,13 @@ class _terms(_error, _shareTermsFunction):
(объект для работы с переменными)
function - функция для для обработки функций в заголовке блока
"""
trm = {"&&":" and ","||":" or "}
trm = {"&&":"@@and@@","||":"@@or@@"}
rule = ["==", "!=", ">=", "<=", ">", "<"]
listEqual = []
for k in trm.keys():
if k in term:
term = term.replace(k,trm[k])
trs = term.split(" ")
trs = term.split("@@")
listSplitOr = []
if "or" in trs:
lst = []
@ -3132,7 +3132,6 @@ os_disk_install not found mount point '\' and '\%s'")%mountPoint)
Выполняет первый аргумент, при ошибке результат "" иначе "1"
"""
retCode, outMess = runOsCommand(funArgv)
print outMess
if retCode == 0:
replace = "1"
else:

Loading…
Cancel
Save