[cig-commits] commit: Using the new UWExit command

Mercurial hg at geodynamics.org
Tue Mar 23 16:42:22 PDT 2010


changeset:   146:1f157035bdaf
branch:      1.4.x
user:        JulianGiordani
date:        Wed Jan 27 13:00:07 2010 +1100
files:       Package.py
description:
Using the new UWExit command


diff -r 453474107f64 -r 1f157035bdaf Package.py
--- a/Package.py	Wed Jan 27 11:32:31 2010 +1100
+++ b/Package.py	Wed Jan 27 13:00:07 2010 +1100
@@ -169,10 +169,10 @@ class Package:
         # If this package was required and it failed print out a message.
         if not self.result and self.required:
             print
+            print '****  ERROR ****'
             print 'Failed to locate required package %s.'%self.name
             print 'Details in \'config.log\''
-            print
-            self.env.Exit()
+            self.env.UWExit()
 
         # If successful, update the original environment.
         if self.result:



More information about the CIG-COMMITS mailing list