Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Apr 2016 21:05:19 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r298227 - head/share/mk
Message-ID:  <201604182105.u3IL5J8L010938@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Mon Apr 18 21:05:19 2016
New Revision: 298227
URL: https://svnweb.freebsd.org/changeset/base/298227

Log:
  Update meta2deps to fix crash when using -X with M2D_EXCLUDES.

Modified:
  head/share/mk/meta2deps.py

Modified: head/share/mk/meta2deps.py
==============================================================================
--- head/share/mk/meta2deps.py	Mon Apr 18 21:05:15 2016	(r298226)
+++ head/share/mk/meta2deps.py	Mon Apr 18 21:05:19 2016	(r298227)
@@ -38,7 +38,7 @@ We only pay attention to a subset of the
 
 """
 RCSid:
-	$Id: meta2deps.py,v 1.18 2015/04/03 18:23:25 sjg Exp $
+	$Id: meta2deps.py,v 1.19 2016/04/02 20:45:40 sjg Exp $
 
 	Copyright (c) 2011-2013, Juniper Networks, Inc.
 	All rights reserved.
@@ -483,7 +483,7 @@ class MetaFile:
         for p in self.excludes:
             if p and path.startswith(p):
                 if self.debug > 2:
-                    print >> self.debug_out, "exclude:", p, path
+                    print("exclude:", p, path, file=self.debug_out)
                 return
         # we don't want to resolve the last component if it is
         # a symlink



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604182105.u3IL5J8L010938>