Bug 82252

Summary: [jhbuild] Prepend jhbuildrc's directory to sys.path instead of appending.
Product: WebKit Reporter: Raphael Kubo da Costa (:rakuco) <rakuco>
Component: Tools / TestsAssignee: Raphael Kubo da Costa (:rakuco) <rakuco>
Status: RESOLVED FIXED    
Severity: Normal CC: d-r, gustavo, mrobinson, pnormand
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch gustavo: review+

Raphael Kubo da Costa (:rakuco)
Reported 2012-03-26 16:03:50 PDT
[jhbuild] Prepend jhbuildrc's directory to sys.path instead of appending.
Attachments
Patch (1.80 KB, patch)
2012-03-26 16:07 PDT, Raphael Kubo da Costa (:rakuco)
gustavo: review+
Raphael Kubo da Costa (:rakuco)
Comment 1 2012-03-26 16:07:10 PDT
Raphael Kubo da Costa (:rakuco)
Comment 2 2012-03-27 10:26:04 PDT
For the record, this is a real problem, as, for example, fail2ban installs a common/ directory which may end up in Python's default path. Prepending is the only way I see to make sure our common.py is always preferred.
Raphael Kubo da Costa (:rakuco)
Comment 3 2012-03-27 13:34:10 PDT
Note You need to log in before you can comment on or make changes to this bug.