Fix 'statement has no effect' warning

This commit is contained in:
Alessio Sergi 2015-03-22 12:00:00 +01:00
parent 40f3bb3db5
commit 54108258b1

View File

@ -987,7 +987,6 @@ class GlancesCursesBrowser(_GlancesCurses):
self.active_server = self.cursor
elif self.pressedkey == 259:
# 'UP' > Up in the server list
logger
self.cursor_up(servers_list)
elif self.pressedkey == 258:
# 'DOWN' > Down in the server list
@ -1135,9 +1134,6 @@ class GlancesCursesBrowser(_GlancesCurses):
self.term_window.addnstr(
y, xc, ">", screen_x - xc, self.colors_list['BOLD'])
# Display alias instead of name
server_stat
# Display the line
xc += 2
for c in column_def: