jhbuild r2311 - in trunk: . jhbuild



Author: fpeters
Date: Thu Aug 28 10:32:47 2008
New Revision: 2311
URL: http://svn.gnome.org/viewvc/jhbuild?rev=2311&view=rev

Log:
* jhbuild/config.py: handle the case where installprog is None.
(closes: #549695)



Modified:
   trunk/ChangeLog
   trunk/jhbuild/config.py

Modified: trunk/jhbuild/config.py
==============================================================================
--- trunk/jhbuild/config.py	(original)
+++ trunk/jhbuild/config.py	Thu Aug 28 10:32:47 2008
@@ -121,7 +121,7 @@
         # environment variables
         if config.has_key('cflags') and config['cflags']:
             os.environ['CFLAGS'] = config['cflags']
-        if config.has_key('installprog') and os.path.exists(config['installprog']):
+        if config.get('installprog') and os.path.exists(config['installprog']):
             os.environ['INSTALL'] = config['installprog']
 
         # copy known config keys to attributes on the instance



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]