[jhbuild] Run triggers before end_module (GNOME bug 654466)



commit 67a782e178f9bcb63f1ec4ae7dd9ac34761dcae5
Author: Craig Keogh <cskeogh adam com au>
Date:   Mon Jul 25 22:30:43 2011 +0930

    Run triggers before end_module (GNOME bug 654466)
    
    The tinderbox build output closes a module at end_module(); run triggers
    before end_module so any log information is appended to the output.

 jhbuild/frontends/buildscript.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/jhbuild/frontends/buildscript.py b/jhbuild/frontends/buildscript.py
index 65f0094..8e87470 100644
--- a/jhbuild/frontends/buildscript.py
+++ b/jhbuild/frontends/buildscript.py
@@ -202,9 +202,11 @@ class BuildScript:
                     force_phase = False
                     num_phase += 1
 
-            self.end_module(module.name, failed)
             if not failed:
                 self.run_triggers(module.name)
+
+            self.end_module(module.name, failed)
+
         self.end_build(failures)
         if failures:
             return 1



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