Skip to content

Commit 841f289

Browse files
authored
fix: repair incorrect merge (ietf-tools#3728)
1 parent d476925 commit 841f289

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ietf/submit/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,14 +126,15 @@ def validate_submission_name(name):
126126
if '.' in name:
127127
msg += " Did you include a filename extension in the name by mistake?"
128128
return msg
129-
return None
130129

131130
components = name.split('-')
132131
if '' in components:
133132
return "Name contains adjacent dashes or the name ends with a dash."
134133
if len(components) < 3:
135134
return "Name has less than three dash-delimited components in the name."
136135

136+
return None
137+
137138
def validate_submission_rev(name, rev):
138139
if not rev:
139140
return 'Revision not found'

0 commit comments

Comments
 (0)