[asterisk-commits] pabelanger: testsuite/asterisk/trunk r2178 - /asterisk/trunk/lib/python/aster...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Sep 12 10:50:11 CDT 2011


Author: pabelanger
Date: Mon Sep 12 10:50:07 2011
New Revision: 2178

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=2178
Log:
Python portability fix

Modified:
    asterisk/trunk/lib/python/asterisk/TestCase.py

Modified: asterisk/trunk/lib/python/asterisk/TestCase.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/lib/python/asterisk/TestCase.py?view=diff&rev=2178&r1=2177&r2=2178
==============================================================================
--- asterisk/trunk/lib/python/asterisk/TestCase.py (original)
+++ asterisk/trunk/lib/python/asterisk/TestCase.py Mon Sep 12 10:50:07 2011
@@ -37,7 +37,7 @@
         """ Set up logging """
         logConfigFile = os.path.join(os.getcwd(), "%s" % (self.defaultLogFileName))
         if os.path.exists(logConfigFile):
-            logging.config.fileConfig(logConfigFile, None, False)
+            logging.config.fileConfig(logConfigFile)
         else:
             print "WARNING: no logging.conf file found; using default configuration"
             logging.basicConfig(level=self.defaultLogLevel)




More information about the asterisk-commits mailing list