[Zodb-checkins] CVS: Packages/ZConfig - SchemaParser.py:1.1.4.6

Fred L. Drake, Jr. fred@zope.com
Tue, 10 Dec 2002 11:26:45 -0500


Update of /cvs-repository/Packages/ZConfig
In directory cvs.zope.org:/tmp/cvs-serv3056

Modified Files:
      Tag: zconfig-schema-devel-branch
	SchemaParser.py 
Log Message:
Remove methods we don't need.


=== Packages/ZConfig/SchemaParser.py 1.1.4.5 => 1.1.4.6 ===
--- Packages/ZConfig/SchemaParser.py:1.1.4.5	Mon Dec  9 17:51:20 2002
+++ Packages/ZConfig/SchemaParser.py	Tue Dec 10 11:26:44 2002
@@ -29,15 +29,6 @@
         self._stack = []
         self._sections = []
 
-    def parseFile(self, file):
-        if isinstance(file, str) or isinstance(file, unicode):
-            file = open(file, 'rU')
-        return self.parseStream(file)
-
-    def parseString(self, s):
-        xml.sax.parseString(s, self)
-        return self._schema
-
     def parseStream(self, stream):
         xml.sax.parse(stream, self)
         return self._schema