Clarification on the debug message draft
authordaniel
Thu, 22 Nov 2012 15:52:59 +0100
changeset 118 6f2b8f437aa9
parent 117 0a5182f04b00
child 119 81ec31f860d5
Clarification on the debug message
bake/ModuleBuild.py
bake/ModuleEnvironment.py
--- a/bake/ModuleBuild.py	Thu Nov 22 15:24:45 2012 +0100
+++ b/bake/ModuleBuild.py	Thu Nov 22 15:52:59 2012 +0100
@@ -119,7 +119,7 @@
                 var = commands.getoutput(env.replace_variables(self.attribute('post_installation').value))
                 
                 if env.debug:
-                    print(var)
+                    print("  -> " +  var)
             except Exception as e:
                 print ("   > Error executing post installation : " + e )
 
--- a/bake/ModuleEnvironment.py	Thu Nov 22 15:24:45 2012 +0100
+++ b/bake/ModuleEnvironment.py	Thu Nov 22 15:52:59 2012 +0100
@@ -406,21 +406,21 @@
         for libpath in self._libpaths:
             self._append_path(tmp, self._lib_var(), libpath, os.pathsep)
             if self.debug:
-                print(self._lib_var() + " " + libpath + " ")  
+                print("  -> " + self._lib_var() + " " + libpath + " ")  
                         
         self._append_path(tmp, self._lib_var(), self._lib_path(), os.pathsep)
         
         for libpath in self._binpaths:
             self._append_path(tmp, self._bin_var(), libpath, os.pathsep)          
             if self.debug:
-                print(self._bin_var() + " " + libpath + " ")          
+                print("  -> " + self._bin_var() + " " + libpath + " ")          
                 
         self._append_path(tmp, self._bin_var(), self._bin_path(), os.pathsep)
         
         for libpath in self._pkgpaths:
             self._append_path(tmp, self._pkgconfig_var(), libpath, os.pathsep)
             if self.debug:
-                print(self._pkgconfig_var() + " " + libpath + " ")         
+                print("  -> " + self._pkgconfig_var() + " " + libpath + " ")         
                  
         self._append_path(tmp, self._pkgconfig_var(), self._pkgconfig_path(), 
                           os.pathsep)