def keywords(record):
     return list(set(x.lower() for x in re.compile('\w
+').findall(record.content or '')))

On Aug 3, 7:39 am, andrej burja <[email protected]> wrote:
> why is the first part
>
> def keywords(record):
>      return list(set(x.lower() for re.compile('\w
> +').findall(record.content or '')))
>
> raising an error in syntax
>
> andrej

Reply via email to