diff options
author | Ben Finney <ben+python@benfinney.id.au> | 2018-04-23 16:30:28 +1000 |
---|---|---|
committer | Ben Finney <ben@benfinney.id.au> | 2018-04-23 19:54:46 +1000 |
commit | 018279b18e7c95b40d94a09fc68fa3b3aa1fc6b0 (patch) | |
tree | 219ede6fac37dfa3a35027dfef75c68ac689c409 /alot/db/utils.py | |
parent | 950839f390dbdcd285ceae86b7ddeb4ce62a50d4 (diff) |
Wrap long statements on open-bracket syntax.
Diffstat (limited to 'alot/db/utils.py')
-rw-r--r-- | alot/db/utils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/alot/db/utils.py b/alot/db/utils.py index ba32b832..3ed88c74 100644 --- a/alot/db/utils.py +++ b/alot/db/utils.py @@ -364,7 +364,8 @@ def extract_body(mail, types=None, field_key='copiousoutput'): elif cte == 'base64': raw_payload = base64.b64decode(payload) else: - raise Exception('Unknown Content-Transfer-Encoding {}'.format(cte)) + raise Exception( + 'Unknown Content-Transfer-Encoding {}'.format(cte)) # message.get_payload(decode=True) also handles a number of unicode # encodindigs. maybe those are useful? payload = raw_payload.decode(enc) |