[IMP] literalify list creation

bzr revid: xmo@openerp.com-20121214122605-w1danvqxmqm12800
This commit is contained in:
Xavier Morel 2012-12-14 13:26:05 +01:00
parent a5cb8460c6
commit e83d615830
1 changed files with 5 additions and 5 deletions

View File

@ -244,10 +244,10 @@ class report_rml(report_int):
return obj.get()
def _get_path(self):
ret = []
ret.append(self.tmpl.replace(os.path.sep, '/').rsplit('/',1)[0]) # Same dir as the report rml
ret.append('addons')
ret.append(tools.config['root_path'])
return ret
return [
self.tmpl.replace(os.path.sep, '/').rsplit('/', 1)[0],
'addons',
tools.config['root_path']
]
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: