develop
asamoukin 16 years ago
parent 7d6b40fa75
commit 60613a1ed5

@ -1601,6 +1601,7 @@ class _file(_error):
fout, fin = popen2.popen2("file %s"%(nameFile))
fin.close()
textLine = fout.readline()
fout.readlines()
fout.close()
if textLine:
listTextLine = textLine.split(":")

@ -279,6 +279,7 @@ def runOsCommand(cmd, inStr=None, ret_first=None):
fin.write(inStr)
fin.close()
res = fout.readlines()
fout.close()
if res:
if len(res) > 1:
if ret_first:

@ -351,5 +351,11 @@ class cl_smartconsole:
(('',''),
)
)
def printSUCCESS(self, string):
"""Вывод на печать в случае успеха без [ok] справа"""
self.printLine((('greenBr',' * '),
('',string),
),
(('',''),
)
)

Loading…
Cancel
Save