Skip to content

Commit b08b83d

Browse files
committed
Handler for collaborative_notes
See carpentries/workshop-template#410
1 parent 9f34e6e commit b08b83d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

bin/workshop_check.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -227,12 +227,12 @@ def check_eventbrite(eventbrite):
227227

228228

229229
@look_for_fixme
230-
def check_etherpad(etherpad):
230+
def check_collaborative_notes(collaborative_notes):
231231
"""
232-
'etherpad' must be a valid URL.
232+
'collaborative_notes' must be a valid URL.
233233
"""
234234

235-
return bool(re.match(URL_PATTERN, etherpad))
235+
return bool(re.match(URL_PATTERN, collaborative_notes))
236236

237237

238238
@look_for_fixme
@@ -292,7 +292,7 @@ def check_pass(value):
292292

293293
'eventbrite': (False, check_eventbrite, 'Eventbrite key appears invalid'),
294294

295-
'etherpad': (False, check_etherpad, 'Etherpad URL appears invalid'),
295+
'collaborative_notes': (False, check_collaborative_notes, 'Collaborative Notes URL appears invalid'),
296296

297297
'venue': (False, check_pass, 'venue name not specified'),
298298

0 commit comments

Comments
 (0)