In the handle_pyc_file method of the py_common_dump module, there's an issue with the way the new_file path is being constructed. The current implementation concatenates the output_dir and target_file paths directly, which can result in an invalid path if target_file is an absolute path.
In the
handle_pyc_file
method of thepy_common_dump
module, there's an issue with the way thenew_file
path is being constructed. The current implementation concatenates theoutput_dir
andtarget_file
paths directly, which can result in an invalid path iftarget_file
is an absolute path.Here's the problematic line of code:
This line should be replaced with: