Skip to content

Commit c49d40d

Browse files
committed
make python 2 3 compatible
1 parent 11ecfdd commit c49d40d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dockerfile_parse/parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ def parent_images(self):
359359
in_stage = True
360360
image, _ = image_from(instr['value'])
361361
if image is not None:
362-
image = WordSplitter(b2u(image.to_str()), args=top_args).dequote()
362+
image = WordSplitter(image.to_str(), args=top_args).dequote()
363363
parents.append(image)
364364
return parents
365365

0 commit comments

Comments
 (0)