[CMF-checkins] CVS: CMF/CMFSetup/tests - common.py:1.6

Tres Seaver tseaver at zope.com
Tue May 25 08:48:56 EDT 2004


Update of /cvs-repository/CMF/CMFSetup/tests
In directory cvs.zope.org:/tmp/cvs-serv4982/tests

Modified Files:
	common.py 
Log Message:


  - Unicode tidying:

    o Move knowledge of the encoding being used out of the utility code,
      and into the import context.

    o Use HandlerBase everywhere in which it might be necessary to encode
      unicode.

    o Note that all 'parseXML' methods (and isomorphs) now default the
      encoding to None;  this may be painful for some kinds of configuration.


=== CMF/CMFSetup/tests/common.py 1.5 => 1.6 ===
--- CMF/CMFSetup/tests/common.py:1.5	Mon May 24 18:43:51 2004
+++ CMF/CMFSetup/tests/common.py	Tue May 25 08:48:55 2004
@@ -133,6 +133,9 @@
     def getSite( self ):
         return self._site
 
+    def getEncoding( self ):
+        return None
+
     def readDataFile( self, filename, subdir=None ):
 
         if subdir is not None:




More information about the CMF-checkins mailing list