diff options
author | hut <hut@lavabit.com> | 2011-09-30 23:36:41 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2011-09-30 23:36:41 +0200 |
commit | 04f0e96ff0a0e234b638e1567baccaacf8e443b5 (patch) | |
tree | 7e22eac30e91735106d676978b6ee5db4ed2103f | |
parent | 793876961734f8cd1867409b552485b4b19c9c26 (diff) | |
download | ranger-04f0e96ff0a0e234b638e1567baccaacf8e443b5.tar.gz |
gui.widgets.browsercolumn: moved import out of loop
-rw-r--r-- | ranger/gui/widgets/browsercolumn.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/gui/widgets/browsercolumn.py b/ranger/gui/widgets/browsercolumn.py index 801b79fd..2c865cbe 100644 --- a/ranger/gui/widgets/browsercolumn.py +++ b/ranger/gui/widgets/browsercolumn.py @@ -21,6 +21,7 @@ from time import time from . import Widget from .pager import Pager from ranger.fsobject import BAD_INFO +from ranger.ext.widestring import WideString class BrowserColumn(Pager): main_column = False @@ -276,7 +277,6 @@ class BrowserColumn(Pager): this_color.append(drawn.exists and 'good' or 'bad') string = drawn.basename - from ranger.ext.widestring import WideString wtext = WideString(text) if len(wtext) > space: wtext = wtext[:space - 1] + ellipsis |