From 9c4c9cf07f35fceb759fa17895961d0c29159ea9 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 5 Sep 2013 16:31:25 +0530 Subject: [PATCH] ... --- src/calibre/ebooks/oeb/stylizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/ebooks/oeb/stylizer.py b/src/calibre/ebooks/oeb/stylizer.py index a19a36de8c..626af21b97 100644 --- a/src/calibre/ebooks/oeb/stylizer.py +++ b/src/calibre/ebooks/oeb/stylizer.py @@ -848,7 +848,7 @@ class Style(object): self._get('padding-bottom'), base=self.height) def __str__(self): - items = sorted(self._style.items()) + items = sorted(self._style.iteritems()) return '; '.join("%s: %s" % (key, val) for key, val in items) def cssdict(self):