summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-04-16 17:18:13 +0200
committerhut <hut@lavabit.com>2010-04-16 17:18:13 +0200
commit70c36ff583d1e114f6553013f9a25c2f1533b585 (patch)
tree59cc50bd7cdc32ba5999488177f540e48c1ca3f8
parentaf4bcb889509557b8f71fa7809ef22a076a9d327 (diff)
downloadranger-70c36ff583d1e114f6553013f9a25c2f1533b585.tar.gz
widgets.statusbar: cleanups
-rw-r--r--ranger/gui/widgets/statusbar.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/ranger/gui/widgets/statusbar.py b/ranger/gui/widgets/statusbar.py
index bff3d8ad..b414153a 100644
--- a/ranger/gui/widgets/statusbar.py
+++ b/ranger/gui/widgets/statusbar.py
@@ -24,7 +24,7 @@ such as the space used by all the files in this directory.
 from pwd import getpwuid
 from grp import getgrgid
 from os import getuid
-from time import strftime, localtime
+from time import time, strftime, localtime
 
 from ranger.ext.human_readable import human_readable
 from . import Widget
@@ -49,7 +49,7 @@ class StatusBar(Widget):
 		self.column = column
 		self.settings.signal_bind('setopt.display_size_in_status_bar',
 				self.request_redraw, weak=True)
-	
+
 	def request_redraw(self):
 		self.need_redraw = True
 
@@ -245,14 +245,12 @@ class StatusBar(Widget):
 			right.add('All', base, 'all')
 
 	def _print_result(self, result):
-		import _curses
 		self.win.move(0, 0)
 		for part in result:
 			self.color(*part.lst)
 			self.addstr(part.string)
 		self.color_reset()
 
-from time import time
 class Message(object):
 	elapse = None
 	text = None
href='#n13'>13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32