Changeset 3897 for WAeUP_SRP/trunk
- Timestamp:
- 31 Jan 2009, 07:46:11 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Widgets.py
r3858 r3897 745 745 #from Products.zdb import set_trace 746 746 #set_trace() 747 ##valid = CPSStringWidget.validate(self, datastructure, **kw)748 ##if not valid:749 ##return 0747 valid = CPSStringWidget.validate(self, datastructure, **kw) 748 if not valid: 749 return 0 750 750 widget_id = self.getWidgetId() 751 751 #value = makeCertificateCode(datastructure[widget_id]).upper() 752 752 value = datastructure[widget_id].upper() 753 id_pat_str = r"\S"754 inv_id_pat = re.compile(r"^%s$" % id_pat_str)753 #id_pat_str = r"\S" 754 #inv_id_pat = re.compile(r"^%s$" % id_pat_str) 755 755 err = 0 756 756 if len(value.split()) > 1:
Note: See TracChangeset for help on using the changeset viewer.