Searched refs:original_file (Results 1 – 2 of 2) sorted by relevance
132 def copy_file_as_temp(self, original_file, str_length): argument139 if os.path.isfile(original_file):143 os.path.splitext(original_file)[0], "".join(random_str),144 os.path.splitext(original_file)[1])145 return shutil.copyfile(original_file, new_temp_tool_path)
404 def copy_file_as_temp(original_file, str_length): argument411 if os.path.isfile(original_file):415 os.path.splitext(original_file)[0], "".join(random_str),416 os.path.splitext(original_file)[1])417 return shutil.copyfile(original_file, new_temp_tool_path)