WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
129291
[GTK] Reduplicate common.top_level_path in scripts
https://bugs.webkit.org/show_bug.cgi?id=129291
Summary
[GTK] Reduplicate common.top_level_path in scripts
Martin Robinson
Reported
2014-02-24 23:28:10 PST
Duplicating this very simple function prevents us having almost every GTK+ script depend on the jhbuild script and a lot of awkward Python system path manipulation.
Attachments
Patch
(6.92 KB, patch)
2014-02-24 23:35 PST
,
Martin Robinson
no flags
Details
Formatted Diff
Diff
Patch
(6.73 KB, patch)
2014-02-24 23:44 PST
,
Martin Robinson
pnormand
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Martin Robinson
Comment 1
2014-02-24 23:35:55 PST
Created
attachment 225123
[details]
Patch
Carlos Garcia Campos
Comment 2
2014-02-24 23:42:19 PST
Comment on
attachment 225123
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=225123&action=review
> Tools/gtk/check-gdom-symbols:29 > +def top_level_path(*args): > + global top_level_dir > + if not top_level_dir: > + top_level_dir = os.path.join(os.path.dirname(__file__), '..', '..') > + return os.path.join(*(top_level_dir,) + args)
Why do we need this here if we are using common?
Martin Robinson
Comment 3
2014-02-24 23:44:29 PST
Created
attachment 225124
[details]
Patch
Martin Robinson
Comment 4
2014-02-24 23:45:25 PST
(In reply to
comment #2
)
> Why do we need this here if we are using common?
Whoops! Forgot to save a file before uploading. I've uploaded a new patch.
Martin Robinson
Comment 5
2014-02-26 12:49:19 PST
Committed
r164739
: <
http://trac.webkit.org/changeset/164739
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug