rhodecode: __init__.py package cleanups for unused code
This commit is contained in:
parent
42e4d2d45b
commit
4f83fd9bce
1 changed files with 2 additions and 7 deletions
|
|
@ -19,10 +19,8 @@
|
|||
# and proprietary license terms, please see https://rhodecode.com/licenses/
|
||||
|
||||
import os
|
||||
import platform
|
||||
import datetime
|
||||
|
||||
from collections import OrderedDict
|
||||
import collections
|
||||
|
||||
now = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S.%f")
|
||||
|
||||
|
|
@ -31,7 +29,7 @@ print(f'{now} Starting RhodeCode imports...')
|
|||
VERSION = tuple(open(os.path.join(
|
||||
os.path.dirname(__file__), 'VERSION')).read().split('.'))
|
||||
|
||||
BACKENDS = OrderedDict()
|
||||
BACKENDS = collections.OrderedDict()
|
||||
|
||||
BACKENDS['hg'] = 'Mercurial repository'
|
||||
BACKENDS['git'] = 'Git repository'
|
||||
|
|
@ -53,12 +51,9 @@ EXTENSIONS = {}
|
|||
|
||||
__version__ = ('.'.join((str(each) for each in VERSION[:3])))
|
||||
__dbversion__ = 114 # defines current db version for migrations
|
||||
__platform__ = platform.system()
|
||||
__license__ = 'AGPLv3, and Commercial License'
|
||||
__author__ = 'RhodeCode GmbH'
|
||||
__url__ = 'https://code.rhodecode.com'
|
||||
|
||||
is_windows = __platform__ in ['Windows']
|
||||
is_unix = not is_windows
|
||||
is_test = False
|
||||
disable_error_handler = False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue