Fix Bug 1687: wscript features report doesn't respect NOCOLOR
authorPeter D. Barnes, Jr. <barnes26@llnl.gov>
Wed, 14 Aug 2013 14:12:38 -0700
changeset 10147 52b4fed4e789
parent 10146 efc260b40738
child 10148 6c4d0f1f52e8
child 10149 03e018548f7a
Fix Bug 1687: wscript features report doesn't respect NOCOLOR
RELEASE_NOTES
wscript
--- a/RELEASE_NOTES	Wed Aug 14 13:31:46 2013 -0700
+++ b/RELEASE_NOTES	Wed Aug 14 14:12:38 2013 -0700
@@ -49,7 +49,7 @@
 
 Bugs fixed
 ----------
-- Bug 760 - IP address removal can be painful
+- Bug  760 - IP address removal can be painful
 - Bug 1296 - Enhancement in Ipv[4,6]RoutingHelper
 - Bug 1390 - ICMPv6 Redirect are handled correctly only for /64 networks
 - Bug 1643 - NdiscCache creation and existence checks
@@ -60,6 +60,7 @@
 - Bug 1683 - IPv6 autoconfigured don't use *infinite* lifetimes
 - Bug 1669 - ns-3 should support binding two and three (possibly more) arguments
 - Bug 1675 - Throughput computation error in Wireless examples
+- Bug 1687 - wscript features report doesn't respect NOCOLOR
 - Bug 1688 - Routers should advertise themselves from the link-local address
 - Bug 1689 - IPv6 shouldn't add a default gateway without checking the Router lifetime
 - Bug 1697 - ICMPv6 Redirect trigger contains multiple bugs
--- a/wscript	Wed Aug 14 13:31:46 2013 -0700
+++ b/wscript	Wed Aug 14 14:12:38 2013 -0700
@@ -531,7 +531,7 @@
         else:
             status = 'not enabled (%s)' % reason_not_enabled
             color = 'RED'
-        print "%-30s: %s%s%s" % (caption, Logs.colors_lst[color], status, Logs.colors_lst['NORMAL'])
+        print "%-30s: %s%s%s" % (caption, Logs.colors(color), status, Logs.colors('NORMAL'))
 
 
 class SuidBuild_task(Task.Task):