[asterisk-commits] mnicholson: branch mnicholson/fancy-versions r2417 - /asterisk/team/mnicholso...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Sep 23 07:57:24 CDT 2011
Author: mnicholson
Date: Fri Sep 23 07:57:21 2011
New Revision: 2417
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=2417
Log:
tweaked indentation code in versions stub
Modified:
asterisk/team/mnicholson/fancy-versions/lib/python/asterisk/TestConfig.py
Modified: asterisk/team/mnicholson/fancy-versions/lib/python/asterisk/TestConfig.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/mnicholson/fancy-versions/lib/python/asterisk/TestConfig.py?view=diff&rev=2417&r1=2416&r2=2417
==============================================================================
--- asterisk/team/mnicholson/fancy-versions/lib/python/asterisk/TestConfig.py (original)
+++ asterisk/team/mnicholson/fancy-versions/lib/python/asterisk/TestConfig.py Fri Sep 23 07:57:21 2011
@@ -464,6 +464,8 @@
class TestConfigUnitTest(unittest.TestCase):
def __versions_stub(self, versions):
import re
+ # indent the versions stub
+ versions = re.sub(r'^', ' ', versions)
versions = re.sub(r'\n', '\n ', versions)
return TestConfig("test",
"""
More information about the asterisk-commits
mailing list