Error !

SyntaxError: invalid syntax (<string>, line 1)

%> <div class="container articlepage"> <% images = [] if object.val('multipleimages'): images = eval(object.val('multipleimages')) def getImage(id):
templates/ferd/article, line 10:
<%
templates/ferd/article, line 10:
<%
templates/ferd/site, line 235:
${self.main_content()}
/srv/dd-web01/limecms/ferd/ferd01/lib/python2.7/site-packages/Mako-1.0.7-py2.7.egg/mako/runtime.py, line 899:
callable_(context, *args, **kwargs)
/srv/dd-web01/limecms/ferd/ferd01/lib/python2.7/site-packages/Mako-1.0.7-py2.7.egg/mako/runtime.py, line 873:
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
/srv/dd-web01/limecms/ferd/ferd01/lib/python2.7/site-packages/Mako-1.0.7-py2.7.egg/mako/runtime.py, line 838:
**_kwargs_for_callable(callable_, data))
/srv/dd-web01/limecms/ferd/ferd01/lib/python2.7/site-packages/Mako-1.0.7-py2.7.egg/mako/template.py, line 462:
return runtime._render(self, self.callable_, args, data)
/var/limecms/ferd/ferd01/ferd-inst/Products/LimeTemplate/LimeTemplate.py, line 704:
html = mytemplate.render(object=object, site=site, request=self.REQUEST, extra=extra.get('kwargs', None), **extra)