Remove print for Python 2 compat

This commit is contained in:
Florian Festi 2017-12-19 19:36:37 +01:00
parent 946d040bac
commit f44f87a25c
1 changed files with 1 additions and 2 deletions

View File

@ -33,8 +33,7 @@ def getAllBoxGenerators():
generators = {}
for importer, modname, ispkg in pkgutil.walk_packages(
path=__path__,
prefix=__name__+'.',
onerror=lambda x: print(x)):
prefix=__name__+'.'):
module = importlib.import_module(modname)
for k, v in module.__dict__.items():
if v is boxes.Boxes: