dbrtools/dbr/dbrutils.py
changeset 188 0d02b2df4cbb
parent 178 eab8a264a833
equal deleted inserted replaced
185:b76adfbc6648 188:0d02b2df4cbb
    78     f = open(tmpfilename,'w')
    78     f = open(tmpfilename,'w')
    79     for file in sorted(files):
    79     for file in sorted(files):
    80         str = '%s%s' % (file,'\n')
    80         str = '%s%s' % (file,'\n')
    81         f.write(str)    
    81         f.write(str)    
    82     f.close()
    82     f.close()
    83     exestr = '7z x -y -i@%s %s' %(tmpfilename,name)
    83     exestr = '7z x -y -i@%s %s >nul' %(tmpfilename,name)
       
    84 #    exestr = '7z x -y -i@%s %s' %(tmpfilename,name)
    84     print 'executing: >%s<\n' %exestr
    85     print 'executing: >%s<\n' %exestr
    85     os.system(exestr)
    86     os.system(exestr)
    86     os.unlink(tmpfilename)
    87     os.unlink(tmpfilename)
    87 
    88 
    88 def deletefiles(files):
    89 def deletefiles(files):