# HG changeset patch # User Marcin Kuzminski # Date 2018-07-31 17:38:28 # Node ID ee7f8502ddeab25b36896271843f4966c5e8a8c0 # Parent ee25bd66650783091ce9dee26f26f38169613909 vcs-lib: code cleanup diff --git a/rhodecode/lib/vcs/__init__.py b/rhodecode/lib/vcs/__init__.py --- a/rhodecode/lib/vcs/__init__.py +++ b/rhodecode/lib/vcs/__init__.py @@ -22,7 +22,15 @@ Various version Control System version lib (vcs) management abstraction layer for Python. Build with server client architecture. """ +import atexit +import logging +import urlparse +from cStringIO import StringIO +from rhodecode.lib.vcs.conf import settings +from rhodecode.lib.vcs.backends import get_vcs_instance, get_backend +from rhodecode.lib.vcs.exceptions import ( + VCSError, RepositoryError, CommitError, VCSCommunicationError) VERSION = (0, 5, 0, 'dev') @@ -30,21 +38,8 @@ VERSION = (0, 5, 0, 'dev') __all__ = [ 'get_version', 'get_vcs_instance', 'get_backend', - 'VCSError', 'RepositoryError', 'CommitError' - ] - -import atexit -import logging -import subprocess32 -import time -import urlparse -from cStringIO import StringIO - - -from rhodecode.lib.vcs.conf import settings -from rhodecode.lib.vcs.backends import get_vcs_instance, get_backend -from rhodecode.lib.vcs.exceptions import ( - VCSError, RepositoryError, CommitError, VCSCommunicationError) + 'VCSError', 'RepositoryError', 'CommitError', 'VCSCommunicationError' +] log = logging.getLogger(__name__)