From c49d40d7d1f60fe07beb44cb21538bce258c144b Mon Sep 17 00:00:00 2001 From: Tim van Katwijk Date: Thu, 1 Dec 2022 19:53:32 +0100 Subject: [PATCH] make python 2 3 compatible --- dockerfile_parse/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockerfile_parse/parser.py b/dockerfile_parse/parser.py index 157e06c..a6d0c5d 100644 --- a/dockerfile_parse/parser.py +++ b/dockerfile_parse/parser.py @@ -359,7 +359,7 @@ def parent_images(self): in_stage = True image, _ = image_from(instr['value']) if image is not None: - image = WordSplitter(b2u(image.to_str()), args=top_args).dequote() + image = WordSplitter(image.to_str(), args=top_args).dequote() parents.append(image) return parents