From c31a54d5ee8e09e48a4f6fa4f6cecd62a6e5d47d Mon Sep 17 00:00:00 2001 From: Tim van Katwijk Date: Wed, 30 Nov 2022 20:01:12 +0100 Subject: [PATCH] changes for python 2 --- dockerfile_parse/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockerfile_parse/util.py b/dockerfile_parse/util.py index 2ef70ca..f4bac87 100644 --- a/dockerfile_parse/util.py +++ b/dockerfile_parse/util.py @@ -355,7 +355,7 @@ def __init__(self, registry=None, namespace=None, repo=None, tag=None): self.tag = tag @classmethod - def parse(cls, image_name: str): + def parse(cls, image_name): result = cls() if not image_name or image_name.isspace():