diff options
author | emaste <emaste@FreeBSD.org> | 2013-01-22 18:02:48 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2013-01-22 18:02:48 +0000 |
commit | 344c251409940bcfe8a745fa0940ea54bae6ff68 (patch) | |
tree | 8a911d1878263b2f9254f1c3e8c03d31eda1ff7d /tools | |
parent | 75dc0fdd3895a77a7b2d8e209f8c69bad8af69aa (diff) | |
download | FreeBSD-src-344c251409940bcfe8a745fa0940ea54bae6ff68.zip FreeBSD-src-344c251409940bcfe8a745fa0940ea54bae6ff68.tar.gz |
Restore Python 2.6+ compatibility
SVN r245536 ported this to Python 3. The major change was the use of the
print function. Unfortunately this is incompatible with Python 2, which
is still the default version in the ports tree.
Use a __future__ import to make this compatible with Python 2.6 and later.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/tools/notescheck/notescheck.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/tools/notescheck/notescheck.py b/tools/tools/notescheck/notescheck.py index 5588679..35915b9 100644 --- a/tools/tools/notescheck/notescheck.py +++ b/tools/tools/notescheck/notescheck.py @@ -7,6 +7,8 @@ # # $FreeBSD$ +from __future__ import print_function + import glob import os.path import sys |