From b08b83dd0f3b847e0a96051797b840eadd0591e5 Mon Sep 17 00:00:00 2001 From: Raniere Silva <raniere@rgaiacs.com> Date: Sun, 18 Jun 2017 08:57:19 +0100 Subject: [PATCH] Handler for collaborative_notes See https://github.com/swcarpentry/workshop-template/issues/410 --- bin/workshop_check.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/workshop_check.py b/bin/workshop_check.py index d3051bf..39ee0bf 100755 --- a/bin/workshop_check.py +++ b/bin/workshop_check.py @@ -227,12 +227,12 @@ def check_eventbrite(eventbrite): @look_for_fixme -def check_etherpad(etherpad): +def check_collaborative_notes(collaborative_notes): """ - 'etherpad' must be a valid URL. + 'collaborative_notes' must be a valid URL. """ - return bool(re.match(URL_PATTERN, etherpad)) + return bool(re.match(URL_PATTERN, collaborative_notes)) @look_for_fixme @@ -292,7 +292,7 @@ HANDLERS = { 'eventbrite': (False, check_eventbrite, 'Eventbrite key appears invalid'), - 'etherpad': (False, check_etherpad, 'Etherpad URL appears invalid'), + 'collaborative_notes': (False, check_collaborative_notes, 'Collaborative Notes URL appears invalid'), 'venue': (False, check_pass, 'venue name not specified'), -- GitLab