Browse Source

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
Thierry Carrez 5 months ago
parent
commit
66c5a3af6b
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      tools/count_slot_usage.py

+ 3
- 1
tools/count_slot_usage.py View File

@@ -32,7 +32,9 @@ BASE_DIR = os.path.abspath(os.path.join(os.path.dirname(sys.argv[0]), ".."))
32 32
 EAVESDROP = 'eavesdrop.openstack.org'
33 33
 MEETINGS_PATH = os.path.join(BASE_DIR, 'meetings')
34 34
 WEEKDAYS = list(calendar.day_name)
35
-WEEK_COUNTS = {'weekly': 2, 'biweekly-even': 1, 'biweekly-odd': 1, 'adhoc': 0}
35
+WEEK_COUNTS = {'first-thursday': 2, 'first-friday': 2, 'weekly': 2,
36
+               'biweekly-even': 1, 'biweekly-odd': 1,
37
+               'quadweekly': 1, 'quadweekly-alternate': 1, 'adhoc': 0}
36 38
 CHANNELS = ['openstack-meeting', 'openstack-meeting-alt',
37 39
             'openstack-meeting-3', 'openstack-meeting-4',
38 40
             'openstack-meeting-5']

Loading…
Cancel
Save