diff options
author | hut <hut@lavabit.com> | 2013-02-24 23:28:14 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2013-02-24 23:28:14 +0100 |
commit | 68ed390d61d3ef6a6dc88bed44c0c1e98216e051 (patch) | |
tree | becefedad74c2c099defa35849fa1b96f482cb6e /ranger | |
parent | 6e46fd77cc8674e3ea3603a66981ce1c6abc3d18 (diff) | |
download | ranger-68ed390d61d3ef6a6dc88bed44c0c1e98216e051.tar.gz |
vcs: move vcs import into load_vcs
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/fsobject/fsobject.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ranger/fsobject/fsobject.py b/ranger/fsobject/fsobject.py index 737e3f5c..8dbf076f 100644 --- a/ranger/fsobject/fsobject.py +++ b/ranger/fsobject/fsobject.py @@ -18,7 +18,6 @@ from ranger.ext.shell_escape import shell_escape from ranger.ext.spawn import spawn from ranger.ext.lazy_property import lazy_property from ranger.ext.human_readable import human_readable -from ranger.ext.vcs import Vcs if hasattr(str, 'maketrans'): maketrans = str.maketrans @@ -199,7 +198,7 @@ class FileSystemObject(FileManagerAware): Reads data regarding the version control system the object is on. Does not load content specific data. """ - from ranger.ext.vcs import VcsError + from ranger.ext.vcs import Vcs, VcsError vcs = Vcs(self.path) |