The 'lines' argument can be False so we can't loop
Merge PR https://github.com/OCA/rma/pull/8 (again for a new commit)