""" Patches. $Id: Patches.py,v 1.9.2.2 2004/04/21 14:39:23 tesdal Exp $ """ __version__ = "$Revision: 1.9.2.2 $" from types import StringType #################### # # PATCH 1 # Add representationIndependent to Field in Archetypes # XXX Make this part of AT, representationIndependent is useful no matter which # implementation is used for multi-representation content from Products.Archetypes.Field import Field patch1 = 0 if not hasattr(Field, 'representationIndependent'): # Apply patch Field.representationIndependent = 0 # First import (not a refresh) # applied patch patch1 = 1 # #####################