diff piecrust/data/builder.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 30a42341cfa8
line wrap: on
line diff
--- a/piecrust/data/builder.py	Mon Aug 11 22:36:36 2014 -0700
+++ b/piecrust/data/builder.py	Mon Aug 11 22:36:47 2014 -0700
@@ -59,7 +59,7 @@
 
 def build_layout_data(page, page_data, contents):
     data = dict(page_data)
-    for name, txt in contents.iteritems():
+    for name, txt in contents.items():
         if name in data:
             logger.warning("Content segment '%s' will hide existing data." %
                     name)