Subversion Repositories programming

Compare Revisions

Ignore whitespace Rev 152 → Rev 153

/shell_programs/rarslave.py
54,6 → 54,10
# - Added an output system to rarslave. This makes a nice status report
# possible at the end of the program run.
#
# - 2005-11-06
# - Fixed the rar command so that it can extract files whose names begin
# with a hyphen.
#
 
################################################################################
# REQUIREMENTS:
541,9 → 545,9
 
if extract_file != None:
if config.get_value('options', 'extract_with_full_path'):
retval = os.system('rar x -o+ "%s"' % (extract_file, ))
retval = os.system('rar x -o+ -- "%s"' % (extract_file, ))
else:
retval = os.system('rar e -o+ "%s"' % (extract_file, ))
retval = os.system('rar e -o+ -- "%s"' % (extract_file, ))
 
if retval != 0:
output.add_file(2, self.parfile)