Bug 82252 - [jhbuild] Prepend jhbuildrc's directory to sys.path instead of appending.
Summary: [jhbuild] Prepend jhbuildrc's directory to sys.path instead of appending.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Raphael Kubo da Costa (:rakuco)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-26 16:03 PDT by Raphael Kubo da Costa (:rakuco)
Modified: 2012-03-27 13:34 PDT (History)
4 users (show)

See Also:


Attachments
Patch (1.80 KB, patch)
2012-03-26 16:07 PDT, Raphael Kubo da Costa (:rakuco)
gns: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Raphael Kubo da Costa (:rakuco) 2012-03-26 16:03:50 PDT
[jhbuild] Prepend jhbuildrc's directory to sys.path instead of appending.
Comment 1 Raphael Kubo da Costa (:rakuco) 2012-03-26 16:07:10 PDT
Created attachment 133918 [details]
Patch
Comment 2 Raphael Kubo da Costa (:rakuco) 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.
Comment 3 Raphael Kubo da Costa (:rakuco) 2012-03-27 13:34:10 PDT
Committed r112309: <http://trac.webkit.org/changeset/112309>