summaryrefslogtreecommitdiff
path: root/alot/addressbooks.py
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2012-09-22 20:50:27 +0100
committerPatrick Totzke <patricktotzke@gmail.com>2012-09-22 20:50:27 +0100
commit36a3ff22e03a070cd5f4d9594ed4fb15d9f4cfe8 (patch)
treee221abe22765701005f94b2a178c053d6af42de4 /alot/addressbooks.py
parentaabed014016e8baff114f8f403904746e3e065e6 (diff)
pep8 fixes
Diffstat (limited to 'alot/addressbooks.py')
-rw-r--r--alot/addressbooks.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/alot/addressbooks.py b/alot/addressbooks.py
index 7767e597..d3f64b6c 100644
--- a/alot/addressbooks.py
+++ b/alot/addressbooks.py
@@ -31,7 +31,8 @@ class AddressBook(object):
query = '.*%s.*' % query
for name, email in self.get_contacts():
try:
- if re.match(query, name, self.reflags) or re.match(query, email, self.reflags):
+ if re.match(query, name, self.reflags) or \
+ re.match(query, email, self.reflags):
res.append((name, email))
except:
pass