Date: Tue, 22 Jan 2013 18:02:48 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r245804 - head/tools/tools/notescheck Message-ID: <201301221802.r0MI2msb058149@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301221802.r0MI2msb058149>