diff MoinMoin/wikiutil.py @ 1791:6dd2e29acffe

Eclipse PyDev Check: fixed lots of its errors and warnings
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Fri, 23 Feb 2007 02:16:07 +0100
parents 2668d470091f
children 57f12932915f
line wrap: on
line diff
--- a/MoinMoin/wikiutil.py	Thu Feb 22 18:51:15 2007 +0100
+++ b/MoinMoin/wikiutil.py	Fri Feb 23 02:16:07 2007 +0100
@@ -14,8 +14,8 @@
 import time
 import urllib
 
-from MoinMoin import util, version, config
-from MoinMoin.util import pysupport, filesys, lock
+from MoinMoin import config
+from MoinMoin.util import pysupport, lock
 
 # Exceptions
 class InvalidFileNameError(Exception):
@@ -1396,8 +1396,8 @@
         return parameter_list, parameter_dict
 
 
+""" never used:
     def _check_type(value, type, format):
-        """Never used!"""
         if type == 'n' and 's' in format: # n as s
             return value
 
@@ -1416,13 +1416,11 @@
             if 'b' in format:
                 return value.lower() != 'false' # s-> b
 
-
         if 's' in format: # * -> s
             return str(value)
         else:
             pass # XXX error
 
-"""
 def main():
     pattern = "%i%sf%s%ifs%(a)s|%(b)s"
     param = ' 4,"DI\'NG", b=retry, a="DING"'