Skip to content

Commit

Permalink
broken in py 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
muayyad-alsadi committed Jul 18, 2023
1 parent 5454c3a commit f75d12a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion podman_compose.py
Original file line number Diff line number Diff line change
Expand Up @@ -1590,7 +1590,8 @@ def _parse_compose_file(self):
content = rec_subs(content, self.environ)
rec_merge(compose, content)
# If `include` is used, append included files to files
if include := compose.get("include", None):
include = compose.get("include", None)
if include:
files.append(*include)
# As compose obj is updated and tested with every loop, not deleting `include`
# from it, results in it being tested again and again, original values for
Expand Down

0 comments on commit f75d12a

Please sign in to comment.