diff options
-rw-r--r-- | ranger/ext/vcs/bzr.py | 2 | ||||
-rw-r--r-- | ranger/ext/vcs/git.py | 4 | ||||
-rw-r--r-- | ranger/ext/vcs/hg.py | 2 | ||||
-rw-r--r-- | ranger/ext/vcs/svn.py | 5 | ||||
-rw-r--r-- | ranger/ext/vcs/vcs.py | 4 |
5 files changed, 9 insertions, 8 deletions
diff --git a/ranger/ext/vcs/bzr.py b/ranger/ext/vcs/bzr.py index 3461c3d2..ab4b8b06 100644 --- a/ranger/ext/vcs/bzr.py +++ b/ranger/ext/vcs/bzr.py @@ -3,9 +3,9 @@ """GNU Bazaar module""" +from datetime import datetime import os import re -from datetime import datetime from .vcs import Vcs, VcsError diff --git a/ranger/ext/vcs/git.py b/ranger/ext/vcs/git.py index 32003d5b..ca49998e 100644 --- a/ranger/ext/vcs/git.py +++ b/ranger/ext/vcs/git.py @@ -3,10 +3,10 @@ """Git module""" -import os -import re from datetime import datetime import json +import os +import re from .vcs import Vcs, VcsError diff --git a/ranger/ext/vcs/hg.py b/ranger/ext/vcs/hg.py index 7c5507eb..16740307 100644 --- a/ranger/ext/vcs/hg.py +++ b/ranger/ext/vcs/hg.py @@ -3,9 +3,9 @@ """Mercurial module""" -import os from datetime import datetime import json +import os from .vcs import Vcs, VcsError diff --git a/ranger/ext/vcs/svn.py b/ranger/ext/vcs/svn.py index c152ca7c..14e82db0 100644 --- a/ranger/ext/vcs/svn.py +++ b/ranger/ext/vcs/svn.py @@ -4,10 +4,11 @@ """Subversion module""" from __future__ import with_statement + +from datetime import datetime +import logging import os import re -import logging -from datetime import datetime from .vcs import Vcs, VcsError diff --git a/ranger/ext/vcs/vcs.py b/ranger/ext/vcs/vcs.py index 93db5eab..a99f9aa9 100644 --- a/ranger/ext/vcs/vcs.py +++ b/ranger/ext/vcs/vcs.py @@ -48,9 +48,9 @@ class Vcs(object): # pylint: disable=too-many-instance-attributes # Backends REPOTYPES = { + 'bzr': {'class': 'Bzr', 'setting': 'vcs_backend_bzr', 'lazy': True}, 'git': {'class': 'Git', 'setting': 'vcs_backend_git', 'lazy': False}, 'hg': {'class': 'Hg', 'setting': 'vcs_backend_hg', 'lazy': True}, - 'bzr': {'class': 'Bzr', 'setting': 'vcs_backend_bzr', 'lazy': True}, 'svn': {'class': 'SVN', 'setting': 'vcs_backend_svn', 'lazy': True}, } @@ -489,7 +489,7 @@ class VcsThread(threading.Thread): # pylint: disable=too-many-instance-attribut self.wake.set() # Backend imports +import ranger.ext.vcs.bzr # NOQA pylint: disable=wrong-import-position import ranger.ext.vcs.git # NOQA pylint: disable=wrong-import-position import ranger.ext.vcs.hg # NOQA pylint: disable=wrong-import-position -import ranger.ext.vcs.bzr # NOQA pylint: disable=wrong-import-position import ranger.ext.vcs.svn # NOQA pylint: disable=wrong-import-position |