1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-04-23 22:51:30 +02:00

Removed iteritems and itervalues, which are redundant

This commit is contained in:
2020-04-21 18:20:08 +02:00
parent 9e076e0af4
commit 3234e4de27
82 changed files with 382 additions and 457 deletions
+1 -2
View File
@@ -9,7 +9,6 @@ import codecs
import os
from .pylrfopt import tagListOptimizer
from ebook_converter.polyglot.builtins import iteritems
PYLRF_VERSION = "1.0"
@@ -525,7 +524,7 @@ class LrfObject(object):
# belongs somewhere, so here it is.
#
composites = {}
for name, value in iteritems(tagDict):
for name, value in tagDict.items():
if name == 'rubyAlignAndAdjust':
continue
if name in {