Skip to content

Commit

Permalink
make python 2 3 compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-vk committed Nov 30, 2022
1 parent 2c5fe62 commit 62aa054
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 @@ -54,7 +54,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(str(s))
self.stream = StringIO(b2u(str(s)))
self.args = args
self.envs = envs

Expand Down

0 comments on commit 62aa054

Please sign in to comment.