Back to index

plone3  3.1.7
ListDiff.py
Go to the documentation of this file.
00001 from Globals import InitializeClass
00002 from Products.CMFDiffTool.FieldDiff import FieldDiff
00003 
00004 
00005 class ListDiff(FieldDiff):
00006     """Text difference"""
00007 
00008     meta_type = "List Diff"
00009 
00010     def _parseField(self, value):
00011         """Parse a field value in preparation for diffing"""
00012         # Return the list as is for diffing
00013         return value
00014 
00015 InitializeClass(ListDiff)