Mercurial > hg > decoupage
changeset 23:d1b1019d9254
unfold the list out of the reverseiterator which otherwise gets consumed and funky
author | egj@socialplanning.org |
---|---|
date | Mon, 04 Jan 2010 04:26:32 +0000 |
parents | a8d36caa8f09 |
children | 6b27461955d1 81607129a45e |
files | decoupage/formatters.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/decoupage/formatters.py Mon Jan 04 03:28:41 2010 +0000 +++ b/decoupage/formatters.py Mon Jan 04 04:26:32 2010 +0000 @@ -88,7 +88,7 @@ data['files'] = sorted(data['files'], key=lambda x: x['name'].lower()) if 'reverse' in self.args: - data['files'] = reverse(data['files']) + data['files'] = list(reversed(data['files'])) class FilenameDescription(FormatterBase):