From 61c6f1b3eaced875fa70b3916ce5584531a6114c Mon Sep 17 00:00:00 2001 From: Guilhem Lavaux Date: Thu, 22 May 2014 09:37:20 +0200 Subject: [PATCH] Fixed gather_sources --- build_tools/gather_sources.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build_tools/gather_sources.py b/build_tools/gather_sources.py index 509f1a4..a2b0ff2 100644 --- a/build_tools/gather_sources.py +++ b/build_tools/gather_sources.py @@ -55,7 +55,7 @@ def apply_license(license, relimit, filename): def apply_python_license(filename): license="""#+ -# This is CosmoTool (@FILENAME@) -- Copyright (C) Guilhem Lavaux (2007-2013) +# This is CosmoTool (@FILENAME@) -- Copyright (C) Guilhem Lavaux (2007-2014) # # guilhem.lavaux@gmail.com # @@ -97,7 +97,7 @@ def apply_python_license(filename): def apply_cpp_license(filename): license="""/*+ -This is CosmoTool (@FILENAME@) -- Copyright (C) Guilhem Lavaux (2007-2013) +This is CosmoTool (@FILENAME@) -- Copyright (C) Guilhem Lavaux (2007-2014) guilhem.lavaux@gmail.com @@ -137,7 +137,7 @@ knowledge of the CeCILL license and that you accept its terms. def analyze_tree(prefix, t): - for entry in t.items(): + for entry in t: ename = entry.name if ename == 'external' or ename == 'zobov': continue