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

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Dec 23 09:48:02 CST 2011


Author: pabelanger
Date: Fri Dec 23 09:47:58 2011
New Revision: 2967

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=2967
Log:
s/lstrip/replace/

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=2967&r1=2966&r2=2967
==============================================================================
--- asterisk/trunk/lib/python/asterisk/TestCase.py (original)
+++ asterisk/trunk/lib/python/asterisk/TestCase.py Fri Dec 23 09:47:58 2011
@@ -43,7 +43,7 @@
         """
 
         self.test_name = os.path.dirname(sys.argv[0])
-        self.base = self.test_name.lstrip("tests/")
+        self.base = self.test_name.replace("tests/", "", 1)
         self.ast = []
         self.ami = []
         self.fastagi = []




More information about the asterisk-commits mailing list