Update meta2deps to fix crash when using -X with M2D_EXCLUDES.
This commit is contained in:
parent
2cf5e9365d
commit
e1dfa6572d
@ -38,7 +38,7 @@
|
||||
|
||||
"""
|
||||
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 @@ def parse_path(self, path, cwd, op=None, w=[]):
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user