Skip to content

Commit a2583c8

Browse files
committed
remove superflous to-str
Signed-off-by: Tim van Katwijk <[email protected]>
1 parent db63b5f commit a2583c8

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
@@ -356,7 +356,7 @@ def parent_images(self):
356356
in_stage = True
357357
image, _ = image_from(instr['value'])
358358
if image is not None:
359-
image = WordSplitter(image.to_str(), args=top_args).dequote()
359+
image = WordSplitter(image, args=top_args).dequote()
360360
parents.append(image)
361361
return parents
362362

0 commit comments

Comments
 (0)