Commit e061b7ca authored by Michal Čihař's avatar Michal Čihař

Move import to correct place

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 2e36a9fb
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
# For some reasons, this fails in PyLint sometimes... # For some reasons, this fails in PyLint sometimes...
# pylint: disable=E0611,F0401 # pylint: disable=E0611,F0401
from distutils.version import LooseVersion from distutils.version import LooseVersion
from weblate import GIT_VERSION
import importlib import importlib
import sys import sys
...@@ -232,6 +231,7 @@ def get_versions_string(): ...@@ -232,6 +231,7 @@ def get_versions_string():
''' '''
Returns string with version information summary. Returns string with version information summary.
''' '''
from weblate import GIT_VERSION
result = [' * Weblate %s' % GIT_VERSION] result = [' * Weblate %s' % GIT_VERSION]
for version in get_versions() + get_optional_versions(): for version in get_versions() + get_optional_versions():
result.append( result.append(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment