jhbuild r2054 - in trunk: . jhbuild
- From: rhult svn gnome org
- To: svn-commits-list gnome org
- Subject: jhbuild r2054 - in trunk: . jhbuild
- Date: Fri, 25 Apr 2008 19:21:38 +0100 (BST)
Author: rhult
Date: Fri Apr 25 18:21:38 2008
New Revision: 2054
URL: http://svn.gnome.org/viewvc/jhbuild?rev=2054&view=rev
Log:
2008-04-25 Richard Hult <richard imendio com>
* jhbuild/config.py: Only catch Exception when reading the config
file, not all (most notably not BaseException) exceptions. This
makes it possible to exit nicely from the config file for example,
which is useful in more advanced jhbuildrc setups like the one for
building GTK+ OS X. Thanks Johan!
Modified:
trunk/ChangeLog
trunk/jhbuild/config.py
Modified: trunk/jhbuild/config.py
==============================================================================
--- trunk/jhbuild/config.py (original)
+++ trunk/jhbuild/config.py Fri Apr 25 18:21:38 2008
@@ -99,7 +99,7 @@
config['__file__'] = filename
try:
execfile(filename, config)
- except:
+ except Exception:
traceback.print_exc()
raise FatalError('could not load config file')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]