##// END OF EJS Templates
vcs-lib: code cleanup
marcink -
r2928:ee7f8502 default
parent child Browse files
Show More
@@ -22,7 +22,15 b''
22 Various version Control System version lib (vcs) management abstraction layer
22 Various version Control System version lib (vcs) management abstraction layer
23 for Python. Build with server client architecture.
23 for Python. Build with server client architecture.
24 """
24 """
25 import atexit
26 import logging
27 import urlparse
28 from cStringIO import StringIO
25
29
30 from rhodecode.lib.vcs.conf import settings
31 from rhodecode.lib.vcs.backends import get_vcs_instance, get_backend
32 from rhodecode.lib.vcs.exceptions import (
33 VCSError, RepositoryError, CommitError, VCSCommunicationError)
26
34
27 VERSION = (0, 5, 0, 'dev')
35 VERSION = (0, 5, 0, 'dev')
28
36
@@ -30,22 +38,9 b" VERSION = (0, 5, 0, 'dev')"
30
38
31 __all__ = [
39 __all__ = [
32 'get_version', 'get_vcs_instance', 'get_backend',
40 'get_version', 'get_vcs_instance', 'get_backend',
33 'VCSError', 'RepositoryError', 'CommitError'
41 'VCSError', 'RepositoryError', 'CommitError', 'VCSCommunicationError'
34 ]
42 ]
35
43
36 import atexit
37 import logging
38 import subprocess32
39 import time
40 import urlparse
41 from cStringIO import StringIO
42
43
44 from rhodecode.lib.vcs.conf import settings
45 from rhodecode.lib.vcs.backends import get_vcs_instance, get_backend
46 from rhodecode.lib.vcs.exceptions import (
47 VCSError, RepositoryError, CommitError, VCSCommunicationError)
48
49 log = logging.getLogger(__name__)
44 log = logging.getLogger(__name__)
50
45
51 # The pycurl library directly accesses C API functions and is not patched by
46 # The pycurl library directly accesses C API functions and is not patched by
General Comments 0
You need to be logged in to leave comments. Login now