[asterisk-commits] russell: testsuite/asterisk/trunk r383 - in /asterisk/trunk: asttest/lib/lua/...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jun 9 16:43:20 CDT 2010


Author: russell
Date: Wed Jun  9 16:43:16 2010
New Revision: 383

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=383
Log:
Try even harder to tell Asterisk never to use colors by putting it in the generated asterisk.conf

Modified:
    asterisk/trunk/asttest/lib/lua/astlib.lua
    asterisk/trunk/lib/python/asterisk/asterisk.py

Modified: asterisk/trunk/asttest/lib/lua/astlib.lua
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/asttest/lib/lua/astlib.lua?view=diff&rev=383&r1=382&r2=383
==============================================================================
--- asterisk/trunk/asttest/lib/lua/astlib.lua (original)
+++ asterisk/trunk/asttest/lib/lua/astlib.lua Wed Jun  9 16:43:16 2010
@@ -217,6 +217,7 @@
 	s["sendfullybooted"]="yes"
 	s["verbose"] = 10
 	s["debug"] = 10
+	s["nocolor"] = "yes"
 
 	s = c:new_section("compat")
 	s["pbx_realtime"] = "1.6"

Modified: asterisk/trunk/lib/python/asterisk/asterisk.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/lib/python/asterisk/asterisk.py?view=diff&rev=383&r1=382&r2=383
==============================================================================
--- asterisk/trunk/lib/python/asterisk/asterisk.py (original)
+++ asterisk/trunk/lib/python/asterisk/asterisk.py Wed Jun  9 16:43:16 2010
@@ -199,6 +199,8 @@
             else:
                 for (var, val) in c.options:
                     f.write("%s = %s\n" % (var, val))
+                if c.name == "options":
+                    f.write("nocolor = yes")
             f.write("\n")
 
         f.close()




More information about the asterisk-commits mailing list