From 513f87659e2ee54919d434d6d7bf6f63977906cd Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 4 May 2020 19:50:13 +0200 Subject: [PATCH] fix undefined variable --- dockerautotag/Cli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dockerautotag/Cli.py b/dockerautotag/Cli.py index b67d7d3..a077932 100644 --- a/dockerautotag/Cli.py +++ b/dockerautotag/Cli.py @@ -51,10 +51,11 @@ class Autotag: @staticmethod def _tag_extra(tags, extra): + e = [] if extra: e = [x.strip() for x in extra.split(",")] - return tags + e or [] + return tags + e @staticmethod def _tag_suffix(tags, suffix):