Skip to content

Commit

Permalink
stringIO always needs a string.
Browse files Browse the repository at this point in the history
Signed-off-by: Tim van Katwijk <[email protected]>
  • Loading branch information
tim-vk committed Dec 26, 2022
1 parent a2583c8 commit 0892b5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dockerfile_parse/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def __init__(self, s, args=None, envs=None):
:param envs: dict, environment variables to use; if None, do not
attempt substitution
"""
self.stream = StringIO(s)
self.stream = StringIO(str(s))
self.args = args
self.envs = envs

Expand Down

0 comments on commit 0892b5e

Please sign in to comment.