equal
deleted
inserted
replaced
234 :type choice_func: function |
234 :type choice_func: function |
235 :param choice_func: a function that takes an entity type, an attrname and |
235 :param choice_func: a function that takes an entity type, an attrname and |
236 returns acceptable values for this attribute |
236 returns acceptable values for this attribute |
237 """ |
237 """ |
238 # XXX HACK, remove or fix asap |
238 # XXX HACK, remove or fix asap |
239 if etype in (('String', 'Int', 'Float', 'Boolean', 'Date', 'EGroup', 'EUser')): |
239 if etype in (('String', 'Int', 'Float', 'Boolean', 'Date', 'CWGroup', 'CWUser')): |
240 return [] |
240 return [] |
241 queries = [] |
241 queries = [] |
242 for index in xrange(entity_num): |
242 for index in xrange(entity_num): |
243 restrictions = [] |
243 restrictions = [] |
244 args = {} |
244 args = {} |