diff options
author | pazz <patricktotzke@gmail.com> | 2011-08-07 17:09:51 +0100 |
---|---|---|
committer | pazz <patricktotzke@gmail.com> | 2011-08-07 17:09:51 +0100 |
commit | 0aabb7dc89406bb08ad631b4267c04ff9cde3bf4 (patch) | |
tree | 7731b359ef73ac8b458ea1b1cdd33141aba9efeb /alot | |
parent | 889ba3255142cf638852eef9779d1438add59099 (diff) |
pep8
Diffstat (limited to 'alot')
-rw-r--r-- | alot/send.py | 3 | ||||
-rw-r--r-- | alot/widgets.py | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/alot/send.py b/alot/send.py index c81b7947..726f7854 100644 --- a/alot/send.py +++ b/alot/send.py @@ -56,7 +56,8 @@ class SendmailSender(Sender): def send_mail(self, mail): mail['Date'] = email.utils.formatdate(time.time(), True) - args = shlex.split(self.cmd.encode('ascii')) # no unicode in shlex on 2.x + # no unicode in shlex on 2.x + args = shlex.split(self.cmd.encode('ascii')) logging.info('args:%s' % args) try: proc = subprocess.Popen(args, stdin=subprocess.PIPE, diff --git a/alot/widgets.py b/alot/widgets.py index ea52d684..56efe376 100644 --- a/alot/widgets.py +++ b/alot/widgets.py @@ -125,6 +125,7 @@ class TagWidget(urwid.AttrMap): def len(self): return len(self.translated) + def selectable(self): return True @@ -364,7 +365,8 @@ class MessageSummaryWidget(urwid.WidgetWrap): else: attr = 'messagesummary_odd' sumstr = self.__str__() - txt = urwid.urwid.AttrMap(urwid.Text(sumstr), attr, 'messagesummary_focus') + txt = urwid.urwid.AttrMap(urwid.Text(sumstr), attr, + 'messagesummary_focus') urwid.WidgetWrap.__init__(self, txt) def __str__(self): |