changeset 2274:01f6172dabd0

remove tabs from source files, remove excludes from test_tab
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 02 Jul 2007 15:57:35 +0200
parents 80c083a0e4a7
children 023e0f0d264e
files MoinMoin/_tests/test_tab.py MoinMoin/formatter/text_docbook.py MoinMoin/parser/_ParserBase.py MoinMoin/parser/text_cplusplus.py MoinMoin/parser/text_java.py MoinMoin/parser/text_pascal.py
diffstat 6 files changed, 7 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/_tests/test_tab.py	Mon Jul 02 15:52:48 2007 +0200
+++ b/MoinMoin/_tests/test_tab.py	Mon Jul 02 15:57:35 2007 +0200
@@ -13,8 +13,6 @@
 ROOT = str(moindir)
 
 EXCLUDE = [
-    '/MoinMoin/parser',
-    '/MoinMoin/formatter',
     '/wiki/htdocs/applets/FCKeditor',
 ]
 
--- a/MoinMoin/formatter/text_docbook.py	Mon Jul 02 15:52:48 2007 +0200
+++ b/MoinMoin/formatter/text_docbook.py	Mon Jul 02 15:57:35 2007 +0200
@@ -489,7 +489,7 @@
 
         self._handleNode("table", on, sanitized_attrs)
         if on:
-            self._addEmptyNode("caption") #dtd for table requires caption		
+            self._addEmptyNode("caption") #dtd for table requires caption
         self._handleNode("tgroup", on)
         self._handleNode("tbody", on)
         return ""
--- a/MoinMoin/parser/_ParserBase.py	Mon Jul 02 15:52:48 2007 +0200
+++ b/MoinMoin/parser/_ParserBase.py	Mon Jul 02 15:57:35 2007 +0200
@@ -1,6 +1,6 @@
 # -*- coding: iso-8859-1 -*-
 """
-	MoinMoin - Base Source Parser
+    MoinMoin - Base Source Parser
 
     @copyright: 2002 by Taesu Pyo <bigflood@hitel.net>
     @license: GNU GPL, see COPYING for details.
@@ -257,12 +257,12 @@
     def write_match(self, formatter, match):
         for n, hit in match.groupdict().items():
             if not hit:
-            	continue
+                continue
             r = self._formatting_rules_n2r[n]
             s = r.getText(self, hit)
             c = self.rule_fmt.get(r.name, None)
             if not c:
-            	c = self.def_format
+                c = self.def_format
             first = 1
             for line in s.expandtabs(4).split('\n'):
                 if not first:
--- a/MoinMoin/parser/text_cplusplus.py	Mon Jul 02 15:52:48 2007 +0200
+++ b/MoinMoin/parser/text_cplusplus.py	Mon Jul 02 15:57:35 2007 +0200
@@ -1,6 +1,6 @@
 # -*- coding: iso-8859-1 -*-
 """
-	MoinMoin - C++ Source Parser
+    MoinMoin - C++ Source Parser
 
     @copyright: 2002 Taesu Pyo <bigflood@hitel.net>
     @license: GNU GPL, see COPYING for details.
--- a/MoinMoin/parser/text_java.py	Mon Jul 02 15:52:48 2007 +0200
+++ b/MoinMoin/parser/text_java.py	Mon Jul 02 15:57:35 2007 +0200
@@ -1,6 +1,6 @@
 # -*- coding: iso-8859-1 -*-
 """
-	MoinMoin - Java Source Parser
+    MoinMoin - Java Source Parser
 
     @copyright: 2002 Taesu Pyo <bigflood@hitel.net>
     @license: GNU GPL, see COPYING for details.
--- a/MoinMoin/parser/text_pascal.py	Mon Jul 02 15:52:48 2007 +0200
+++ b/MoinMoin/parser/text_pascal.py	Mon Jul 02 15:57:35 2007 +0200
@@ -1,6 +1,6 @@
 # -*- coding: iso-8859-1 -*-
 """
-	MoinMoin - Pascal Source Parser
+    MoinMoin - Pascal Source Parser
 
     @copyright: 2004-2005 Johannes Berg <johannes@sipsolutions.net>
     @license: GNU GPL, see COPYING for details.