svn commit: r245804 - head/tools/tools/notescheck
Ed Maste
emaste at FreeBSD.org
Tue Jan 22 18:02:49 UTC 2013
Author: emaste
Date: Tue Jan 22 18:02:48 2013
New Revision: 245804
URL: http://svnweb.freebsd.org/changeset/base/245804
Log:
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.
Modified:
head/tools/tools/notescheck/notescheck.py
Modified: head/tools/tools/notescheck/notescheck.py
==============================================================================
--- head/tools/tools/notescheck/notescheck.py Tue Jan 22 17:49:51 2013 (r245803)
+++ head/tools/tools/notescheck/notescheck.py Tue Jan 22 18:02:48 2013 (r245804)
@@ -7,6 +7,8 @@
#
# $FreeBSD$
+from __future__ import print_function
+
import glob
import os.path
import sys
More information about the svn-src-head
mailing list