Mercurial > piecrust2
diff piecrust/processing/less.py @ 5:474c9882decf
Upgrade to Python 3.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Mon, 11 Aug 2014 22:36:47 -0700 |
parents | f485ba500df3 |
children | 343d08ef5668 |
line wrap: on
line diff
--- a/piecrust/processing/less.py Mon Aug 11 22:36:36 2014 -0700 +++ b/piecrust/processing/less.py Mon Aug 11 22:36:47 2014 -0700 @@ -35,7 +35,7 @@ path_dir = os.path.dirname(path) def _makeAbs(p): return os.path.join(path_dir, p) - return map(_makeAbs, source[:-1]) + return list(map(_makeAbs, source[:-1])) except IOError: # Map file not found... rebuild. logger.debug("No map file found for LESS file '%s' at '%s'. "