From 25f0eb67bfb0aaf99080c1137b5d731f38eaf04d Mon Sep 17 00:00:00 2001 From: Keegan McAllister Date: Mon, 3 Dec 2012 16:13:00 -0500 Subject: [PATCH] gcal-bot: Rename variable 'humbug' It's weird to clobber the module, although it works. (imported from commit 160d6e1c596ba6618c3da9c8cdc2f5cd3ca43dc6) --- api/bots/gcal-bot | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/api/bots/gcal-bot b/api/bots/gcal-bot index 889392be1f..14e14120bb 100755 --- a/api/bots/gcal-bot +++ b/api/bots/gcal-bot @@ -82,7 +82,7 @@ def get_calendar_url(): calendar_url = get_calendar_url() -humbug = humbug.Client( +client = humbug.Client( email=options.user, api_key=options.api_key, site=options.site, @@ -129,10 +129,10 @@ def send_reminders(): else: message = 'Reminder:\n\n' + '\n'.join('* ' + m for m in messages) - humbug.send_message(dict( - type = 'private', - to = options.user, - content = message)) + client.send_message(dict( + type = 'private', + to = options.user, + content = message)) sent |= keys