[Zope-CVS] CVS: Products/Ape/lib/apelib/config - apeconf.py:1.1.2.3

Shane Hathaway shane@zope.com
Tue, 8 Jul 2003 00:09:38 -0400


Update of /cvs-repository/Products/Ape/lib/apelib/config
In directory cvs.zope.org:/tmp/cvs-serv16000/config

Modified Files:
      Tag: ape-newconf-branch
	apeconf.py 
Log Message:
Removed an unused class

=== Products/Ape/lib/apelib/config/apeconf.py 1.1.2.2 => 1.1.2.3 ===
--- Products/Ape/lib/apelib/config/apeconf.py:1.1.2.2	Mon Jul  7 23:58:05 2003
+++ Products/Ape/lib/apelib/config/apeconf.py	Tue Jul  8 00:09:33 2003
@@ -292,27 +292,6 @@
         pass
 
 
-class ClassifierAssembler:
-    """Produces a classifier.
-    """
-    def __init__(self, compsys, comptype, name):
-        self.compsys = compsys
-        records = compsys.dtables.query(
-            ComponentDefinition, comptype=comptype, name=name)
-        if not records:
-            raise AssemblyError("No %s component named %s exists"
-                                % (comptype, repr(name)))
-        assert len(records) == 1
-        producer = records[0]['producer']
-        self.producer = producer
-
-    def create(self):
-        return self.producer.create(self.compsys)
-
-    def configure(self):
-        self.producer.configure(self.compsys)
-
-
 class MapperAssembler:
     """Assembler for mapper components.
     """