From 2b1e8411ab5eaa7e1349b78d03270ab02ae2950d Mon Sep 17 00:00:00 2001 From: schneefux Date: Mon, 6 Oct 2014 16:52:53 +0200 Subject: Fix flake8 style nits --- client/modules/Gmail.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'client/modules/Gmail.py') diff --git a/client/modules/Gmail.py b/client/modules/Gmail.py index 001cf9c..83ed3bd 100644 --- a/client/modules/Gmail.py +++ b/client/modules/Gmail.py @@ -3,7 +3,6 @@ import imaplib import email import re from dateutil import parser -from app_utils import * WORDS = ["EMAIL", "INBOX"] @@ -51,7 +50,8 @@ def fetchUnreadEmails(profile, since=None, markRead=False, limit=None): Fetches a list of unread email objects from a user's Gmail inbox. Arguments: - profile -- contains information related to the user (e.g., Gmail address) + profile -- contains information related to the user (e.g., Gmail + address) since -- if provided, no emails before this date will be returned markRead -- if True, marks all returned emails as read in target inbox @@ -93,7 +93,8 @@ def handle(text, mic, profile): Arguments: text -- user-input, typically transcribed speech mic -- used to interact with the user (for both input and output) - profile -- contains information related to the user (e.g., Gmail address) + profile -- contains information related to the user (e.g., Gmail + address) """ try: msgs = fetchUnreadEmails(profile, limit=5) -- cgit v1.3.1