diff options
| author | Victor Stinner <victor.stinner@gmail.com> | 2014-03-19 12:51:48 +0100 |
|---|---|---|
| committer | Victor Stinner <victor.stinner@gmail.com> | 2014-03-19 12:51:48 +0100 |
| commit | 4c177fce89fee925f0f4fbfde00ce2e1252562c0 (patch) | |
| tree | 3e7a8a8f9771aeb649449b390d1ba5038cc32059 /paste/debug/fsdiff.py | |
| parent | 4450e264ae1d68e0150e0ab9f611118d9797d694 (diff) | |
| download | paste-4c177fce89fee925f0f4fbfde00ce2e1252562c0.tar.gz | |
Python 3: fix more submodules
* print syntax
* replace "except Exception, exc:" with "except Exception as exc:"
Diffstat (limited to 'paste/debug/fsdiff.py')
| -rw-r--r-- | paste/debug/fsdiff.py | 4 |
1 files changed, 2 insertions, 2 deletions
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): |
