Skip to content

Fix annoying attibute __file__ not found

Rubén Gonzalez requested to merge rgonzalez/cerbero:gsthf_fix__file__ into main

Set the __file__ attribute before calling any package method because a package may need to call something that needs it e.g. prepare() may call self.relative_path(), which uses __file__. This commit ensures it's set before calling any method.

Edited by Nirbheek Chauhan

Merge request reports

Loading