Skip to content
Snippets Groups Projects
Unverified Commit 17dd8e4e authored by Thomas Woerner's avatar Thomas Woerner Committed by GitHub
Browse files

Merge pull request #659 from t-woerner/fix_galaxyfy_module_examples

galaxyfy: Fix newline issue in module examples
parents d1c3ecc9 0d57d69a
No related branches found
No related tags found
No related merge requests found
...@@ -35,8 +35,7 @@ def galaxyfy_playbook(project_prefix, collection_prefix, lines): ...@@ -35,8 +35,7 @@ def galaxyfy_playbook(project_prefix, collection_prefix, lines):
changeable = False changeable = False
include_role = False include_role = False
for line in lines: for line in lines:
line = line.rstrip() stripped = line.strip()
stripped = line.lstrip()
if stripped.startswith("- name:") or \ if stripped.startswith("- name:") or \
stripped.startswith("- block:"): stripped.startswith("- block:"):
changeable = True changeable = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment