Index: third_party/logilab/common/ureports/text_writer.py |
=================================================================== |
--- third_party/logilab/common/ureports/text_writer.py (revision 292986) |
+++ third_party/logilab/common/ureports/text_writer.py (working copy) |
@@ -16,8 +16,13 @@ |
# You should have received a copy of the GNU Lesser General Public License along |
# with logilab-common. If not, see <http://www.gnu.org/licenses/>. |
"""Text formatting drivers for ureports""" |
+ |
+from __future__ import print_function |
+ |
__docformat__ = "restructuredtext en" |
+from six.moves import range |
+ |
from logilab.common.textutils import linesep |
from logilab.common.ureports import BaseWriter |
@@ -54,7 +59,7 @@ |
try: |
self.writeln(TITLE_UNDERLINES[self.section] * len(title)) |
except IndexError: |
- print "FIXME TITLE TOO DEEP. TURNING TITLE INTO TEXT" |
+ print("FIXME TITLE TOO DEEP. TURNING TITLE INTO TEXT") |
def visit_paragraph(self, layout): |
"""enter a paragraph""" |