From 941adf6a0efd6965a07a8bf094a97f2b6d50e80b Mon Sep 17 00:00:00 2001 From: jason Date: Thu, 8 Sep 2016 15:39:51 -0600 Subject: Researching a bug where not all users are messaged for stnadup --- warmachine/addons/standup.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/warmachine/addons/standup.py b/warmachine/addons/standup.py index 71b57df..adb7694 100644 --- a/warmachine/addons/standup.py +++ b/warmachine/addons/standup.py @@ -307,6 +307,7 @@ class StandUpPlugin(WarMachinePlugin): through all the users in the channel asking them report their standup. """ users = connection.get_users_by_channel(channel) + self.log.debug('Users found in {}: {}'.format(channel, users)) if not users: self.log.error('Unable to get_users_by_channel for channel ' '{}. Skipping standup.'.format(channel)) @@ -316,10 +317,10 @@ class StandUpPlugin(WarMachinePlugin): for u in users: if u == connection.nick or \ u in self.standup_schedules[channel]['ignoring']: - try: - users.remove(u) - except ValueError: - pass + # try: + # users.remove(u) + # except ValueError: + # pass continue if u in self.users_awaiting_reply and \ -- cgit v1.2.1