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.
Created attachment 225123 [details]
Comment on attachment 225123 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=225123&action=review
> +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?
Created attachment 225124 [details]
(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.
Committed r164739: <http://trac.webkit.org/changeset/164739>