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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to