equal
deleted
inserted
replaced
226 if entity.e_schema.has_subject_relation('name') \ |
226 if entity.e_schema.has_subject_relation('name') \ |
227 and not formparams.get('name'): |
227 and not formparams.get('name'): |
228 formparams['name'] = value[0] |
228 formparams['name'] = value[0] |
229 self.relations.append('X name %(name)s') |
229 self.relations.append('X name %(name)s') |
230 value = val |
230 value = val |
|
231 else: |
|
232 # no specified value, skip |
|
233 return |
231 elif value is not None: |
234 elif value is not None: |
232 if attrtype in ('Date', 'Datetime', 'Time'): |
235 if attrtype in ('Date', 'Datetime', 'Time'): |
233 try: |
236 try: |
234 value = self.parse_datetime(value, attrtype) |
237 value = self.parse_datetime(value, attrtype) |
235 except ValueError: |
238 except ValueError: |