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'