From 94ea56c87dd709c26ad131aff91d3eaed2ff401d Mon Sep 17 00:00:00 2001 From: Chad Burt Date: Sun, 5 Dec 2010 22:47:50 -0800 Subject: [PATCH] Realized there is no need to check for an uneven number of participants... getting late --- secret_santa.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/secret_santa.py b/secret_santa.py index 3084257..2e0eba0 100644 --- a/secret_santa.py +++ b/secret_santa.py @@ -121,9 +121,6 @@ def main(argv=None): if len(participants) < 2: raise Exception('Not enough participants specified.') - if len(participants) % 2: - raise Exception('Uneven number of participants!') - givers = [] for person in participants: name, email = re.match(r'([^<]*)<([^>]*)>', person).groups()