From 66c5a3af6b64762e9b12b36c7f560a342682bc9d Mon Sep 17 00:00:00 2001 From: Thierry Carrez Date: Mon, 17 Dec 2018 17:37:27 +0100 Subject: [PATCH] Update count_slot_usage for new recurrences The count_slot_usage.py tool was not updated when the monthly and quadweekly recurrences were added. Do that now. Change-Id: I978726c13a910549b2f81f4b21c28ca05ba09c26 --- tools/count_slot_usage.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/count_slot_usage.py b/tools/count_slot_usage.py index f7700e64..6d0fcbce 100755 --- a/tools/count_slot_usage.py +++ b/tools/count_slot_usage.py @@ -32,7 +32,9 @@ BASE_DIR = os.path.abspath(os.path.join(os.path.dirname(sys.argv[0]), "..")) EAVESDROP = 'eavesdrop.openstack.org' MEETINGS_PATH = os.path.join(BASE_DIR, 'meetings') WEEKDAYS = list(calendar.day_name) -WEEK_COUNTS = {'weekly': 2, 'biweekly-even': 1, 'biweekly-odd': 1, 'adhoc': 0} +WEEK_COUNTS = {'first-thursday': 2, 'first-friday': 2, 'weekly': 2, + 'biweekly-even': 1, 'biweekly-odd': 1, + 'quadweekly': 1, 'quadweekly-alternate': 1, 'adhoc': 0} CHANNELS = ['openstack-meeting', 'openstack-meeting-alt', 'openstack-meeting-3', 'openstack-meeting-4', 'openstack-meeting-5']