##// END OF EJS Templates
rhodecode: __init__.py package cleanups for unused code
super-admin -
r4998:9879b495 default
parent child Browse files
Show More
@@ -19,10 +19,8 b''
19 19 # and proprietary license terms, please see https://rhodecode.com/licenses/
20 20
21 21 import os
22 import platform
23 22 import datetime
24
25 from collections import OrderedDict
23 import collections
26 24
27 25 now = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S.%f")
28 26
@@ -31,7 +29,7 b" print(f'{now} Starting RhodeCode imports"
31 29 VERSION = tuple(open(os.path.join(
32 30 os.path.dirname(__file__), 'VERSION')).read().split('.'))
33 31
34 BACKENDS = OrderedDict()
32 BACKENDS = collections.OrderedDict()
35 33
36 34 BACKENDS['hg'] = 'Mercurial repository'
37 35 BACKENDS['git'] = 'Git repository'
@@ -53,12 +51,9 b' EXTENSIONS = {}'
53 51
54 52 __version__ = ('.'.join((str(each) for each in VERSION[:3])))
55 53 __dbversion__ = 114 # defines current db version for migrations
56 __platform__ = platform.system()
57 54 __license__ = 'AGPLv3, and Commercial License'
58 55 __author__ = 'RhodeCode GmbH'
59 56 __url__ = 'https://code.rhodecode.com'
60 57
61 is_windows = __platform__ in ['Windows']
62 is_unix = not is_windows
63 58 is_test = False
64 59 disable_error_handler = False
General Comments 0
You need to be logged in to leave comments. Login now