Some fixes for flake8

This commit is contained in:
ZyX 2013-04-07 04:30:51 +04:00
parent b507029741
commit 6f57a3dd63
1 changed files with 2 additions and 2 deletions

View File

@ -6,8 +6,6 @@ import sys
from time import sleep
from powerline.lib.monotonic import monotonic
from subprocess import Popen, PIPE
from threading import Thread
from select import select
powerline = Powerline('wm', renderer_module='pango_markup')
powerline.update_renderer()
@ -17,6 +15,7 @@ try:
except IndexError:
interval = 2
def read_to_log(pl, client):
for line in client.stdout:
if line:
@ -27,6 +26,7 @@ def read_to_log(pl, client):
if client.wait():
pl.error('Client exited with {0}', client.returncode, prefix='awesome')
while True:
start_time = monotonic()
s = powerline.render(side='right')