From 4c177fce89fee925f0f4fbfde00ce2e1252562c0 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 19 Mar 2014 12:51:48 +0100 Subject: Python 3: fix more submodules * print syntax * replace "except Exception, exc:" with "except Exception as exc:" --- paste/debug/fsdiff.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'paste/debug/fsdiff.py') diff --git a/paste/debug/fsdiff.py b/paste/debug/fsdiff.py index f680bf6..156a2e4 100644 --- a/paste/debug/fsdiff.py +++ b/paste/debug/fsdiff.py @@ -263,8 +263,8 @@ class File(object): __tracebackhide__ = True bytes = self.bytes if s not in bytes: - print 'Could not find %r in:' % s - print bytes + print('Could not find %r in:' % s) + print(bytes) assert s in bytes def __repr__(self): -- cgit v1.2.1