print statement fixes

convert the print statement to a WARN level log line or to a call to the print
function, depending on the context.
This commit is contained in:
Alexandre Fayolle
2014-12-03 09:51:38 +01:00
parent 7b02b88c38
commit ca3d306f7d
5 changed files with 15 additions and 7 deletions

View File

@@ -23,7 +23,7 @@
Define a struct class which behaves like a dict, but allows using
object.attr alongside object['attr'].
'''
from __future__ import print_function
__all__ = ['struct']