Some fixes for flake8
This commit is contained in:
parent
b507029741
commit
6f57a3dd63
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue