[Zope-CVS] CVS: Products/AdaptableStorage/serial_std - FixedClassifier.py:1.2

Shane Hathaway shane@zope.com
Mon, 9 Dec 2002 10:57:25 -0500


Update of /cvs-repository/Products/AdaptableStorage/serial_std
In directory cvs.zope.org:/tmp/cvs-serv29307/serial_std

Modified Files:
	FixedClassifier.py 
Log Message:
Tidying:

- Removed domain mapper, which has been folded into object mapper (as I had
  always hoped to do--yay!)

- Removed makeKey from various places, since it now has a less meaningful
  purpose

- Removed classifyObject() from serialization events since it now serves
  no purpose I can think of

- Removed commented code

- Removed IObjectGateway since it now defines nothing more than IGateway

- Switched the order of the arguments for classifyObject() to match the
  order of the other methods

- Corrected and added comments



=== Products/AdaptableStorage/serial_std/FixedClassifier.py 1.1 => 1.2 ===
--- Products/AdaptableStorage/serial_std/FixedClassifier.py:1.1	Sat Dec  7 00:59:14 2002
+++ Products/AdaptableStorage/serial_std/FixedClassifier.py	Mon Dec  9 10:57:24 2002
@@ -31,7 +31,7 @@
     def register(self, key, mapper_name):
         self.key_to_res[key] = ({}, mapper_name)
 
-    def classifyObject(self, keychain, value):
+    def classifyObject(self, value, keychain):
         k = keychain[-1]
         return self.key_to_res[k]
 
@@ -41,3 +41,4 @@
 
     def store(self, mapper, keychain, classification):
         pass
+