Skip to content

Commit

Permalink
removed duplicated line in b2 output (#5811)
Browse files Browse the repository at this point in the history
  • Loading branch information
grisumbras authored and lasote committed Oct 16, 2019
1 parent 2042bee commit cf2d1ef
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion conans/client/generators/b2.py
Expand Up @@ -43,7 +43,6 @@ def content(self):
cbi += [self.conanbuildinfo_prefix_text]
# The sub-project definitions, i.e. 3.
for dep_name, dep_cpp_info in self.deps_build_info.dependencies:
cbi += ["", "# %s" % (dep_name.lower())]
cbi += self.b2_project_for_dep(dep_name, dep_cpp_info)
# The postfix which does 4.
cbi += [self.conanbuildinfo_postfix_text]
Expand Down Expand Up @@ -390,6 +389,7 @@ def b2_toolset(self):
"""

conanbuildinfo_project_template = """\
# {name}
project-define {name} ;
"""
Expand Down
2 changes: 0 additions & 2 deletions conans/test/unittests/client/generators/b2_test.py
Expand Up @@ -161,12 +161,10 @@ def b2_empty_settings_test(self):
}
# mypkg
# mypkg
project-define mypkg ;
# mypkg2
# mypkg2
project-define mypkg2 ;
Expand Down

0 comments on commit cf2d1ef

Please sign in to comment.