- Timestamp:
- 27 Feb 2009, 20:24:33 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Widgets.py
r3982 r3986 1022 1022 self.render_format = 'select' 1023 1023 1024 female = value in ('F','f','Female','female', "True",True)1025 male = value in ('M','m','Male','male','False', False)1024 female = value in ('F','f','Female','female','True','true',True) 1025 male = value in ('M','m','Male','male','False','false',False) 1026 1026 if not female and not male: 1027 1027 datastructure.setError(self.getWidgetId(), … … 1052 1052 if self.render_format not in self.render_formats: 1053 1053 self.render_format = 'select' 1054 true = value.upper() in ('T','1','TRUE',' WAHR',True)1055 false = value.upper() in ('F','0','FALSE','F ALSCH',False)1054 true = value.upper() in ('T','1','TRUE','True','true','WAHR',True) 1055 false = value.upper() in ('F','0','FALSE','False','false','FALSCH',False) 1056 1056 if not true and not false: 1057 1057 datastructure.setError(self.getWidgetId(),
Note: See TracChangeset for help on using the changeset viewer.