fix: repair incorrect merge (#3728)

This commit is contained in:
Robert Sparks 2022-03-22 11:51:02 -05:00 committed by GitHub
parent d47692546e
commit 841f289b5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'