[rtems-source-builder commit] sb: Fix the log after breaking adding --without-log
    Chris Johns 
    chrisj at rtems.org
       
    Thu Oct 12 03:06:49 UTC 2017
    
    
  
Module:    rtems-source-builder
Branch:    master
Commit:    7c0c0ba16cca9298cd2d17a82ca225f9efda5384
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=7c0c0ba16cca9298cd2d17a82ca225f9efda5384
Author:    Chris Johns <chrisj at rtems.org>
Date:      Thu Oct 12 14:06:43 2017 +1100
sb: Fix the log after breaking adding --without-log
---
 source-builder/sb/options.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/source-builder/sb/options.py b/source-builder/sb/options.py
index 3c3b2ff..7bbdd8c 100644
--- a/source-builder/sb/options.py
+++ b/source-builder/sb/options.py
@@ -281,8 +281,8 @@ class command_line:
 
     def post_process(self, logfile = True):
         # Handle the log first.
-        logctrl = self.get_arg('--without-log')
-        if logctrl is not None and logfile:
+        logctrl = self.parse_args('--without-log')
+        if logctrl is None:
             if logfile:
                 logfiles = self.logfiles()
             else:
    
    
More information about the vc
mailing list