[Webkit-unassigned] [Bug 117168] [GTK] Respect PKG_CONFIG env variable when generating gtk-doc
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jun 3 14:28:12 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=117168
--- Comment #2 from Zan Dobersek <zandobersek at gmail.com> 2013-06-03 14:26:45 PST ---
(From update of attachment 203627)
View in context: https://bugs.webkit.org/attachment.cgi?id=203627&action=review
> Tools/gtk/gtkdoc.py:402
> + if os.environ.get('PKG_CONFIG'):
> + pkg_config = os.environ['PKG_CONFIG']
> + else:
> + pkg_config = 'pkg-config'
Can be simplified into:
pkg_config = os.environ.get('PKG_CONFIG', 'pkg-config')
http://docs.python.org/2/library/stdtypes.html#dict.get
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list