From 841f289b5da2b44ae58d98abe1cdf4a7c2c8ab11 Mon Sep 17 00:00:00 2001 From: Robert Sparks Date: Tue, 22 Mar 2022 11:51:02 -0500 Subject: [PATCH] fix: repair incorrect merge (#3728) --- ietf/submit/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ietf/submit/utils.py b/ietf/submit/utils.py index acba5577c..5c2b1c152 100644 --- a/ietf/submit/utils.py +++ b/ietf/submit/utils.py @@ -126,7 +126,6 @@ def validate_submission_name(name): if '.' in name: msg += " Did you include a filename extension in the name by mistake?" return msg - return None components = name.split('-') if '' in components: @@ -134,6 +133,8 @@ def validate_submission_name(name): if len(components) < 3: return "Name has less than three dash-delimited components in the name." + return None + def validate_submission_rev(name, rev): if not rev: return 'Revision not found'