summaryrefslogtreecommitdiff
path: root/alot/helper.py
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2012-07-21 16:23:04 +0100
committerPatrick Totzke <patricktotzke@gmail.com>2012-07-21 16:23:04 +0100
commit5e0741e33a5565ba7a3bdc01813f80cb4a24c0f8 (patch)
tree2e14a1fcafd5f9211dfe7a6343a9d73f2a94e858 /alot/helper.py
parent3cca629ba712ad3ad6b9f6ac86797248101434ab (diff)
pep8 and pyflakes fixes
Diffstat (limited to 'alot/helper.py')
-rw-r--r--alot/helper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/helper.py b/alot/helper.py
index f4ec07cd..78744edf 100644
--- a/alot/helper.py
+++ b/alot/helper.py
@@ -22,7 +22,6 @@ from twisted.internet.protocol import ProcessProtocol
from twisted.internet.defer import Deferred
import StringIO
import logging
-import tempfile
def split_commandstring(cmdstring):
@@ -35,6 +34,7 @@ def split_commandstring(cmdstring):
cmdstring = cmdstring.encode('utf-8', errors='ignore')
return shlex.split(cmdstring)
+
def safely_get(clb, E, on_error=''):
"""
returns result of :func:`clb` and falls back to `on_error`