Module: check_mk
Branch: master
Commit: f02db6fa3df5e96c6164ab1da658acf05ecb3465
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f02db6fa3df5e9…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Jul 16 11:43:01 2018 +0200
All plugins are now imported in deterministic order
Change-Id: I4a285c9ebfd874ff9dd259e4b8c8dedd33eeb7b5
---
cmk/gui/plugins/cron/__init__.py | 2 +-
cmk/gui/plugins/metrics/__init__.py | 2 +-
cmk/gui/plugins/sidebar/__init__.py | 2 +-
cmk/gui/plugins/userdb/__init__.py | 2 +-
cmk/gui/plugins/views/icons/__init__.py | 2 +-
cmk/gui/plugins/views/perfometers/__init__.py | 2 +-
cmk/gui/plugins/wato/__init__.py | 2 +-
7 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/cmk/gui/plugins/cron/__init__.py b/cmk/gui/plugins/cron/__init__.py
index e2fbe7a..e2ead03 100644
--- a/cmk/gui/plugins/cron/__init__.py
+++ b/cmk/gui/plugins/cron/__init__.py
@@ -30,7 +30,7 @@ import glob
from cmk.gui.i18n import _
from cmk.gui.globals import html
-modules = glob.glob(os.path.join(os.path.dirname(__file__), "*.py"))
+modules = sorted(glob.glob(os.path.join(os.path.dirname(__file__), "*.py")))
__all__ = [ os.path.basename(f)[:-3] for f in modules if f not in [
"__init__.py", "utils.py" ] ]
#.
diff --git a/cmk/gui/plugins/metrics/__init__.py b/cmk/gui/plugins/metrics/__init__.py
index 61e0cae..91b1989 100644
--- a/cmk/gui/plugins/metrics/__init__.py
+++ b/cmk/gui/plugins/metrics/__init__.py
@@ -27,7 +27,7 @@
import os
import glob
-modules = glob.glob(os.path.join(os.path.dirname(__file__), "*.py"))
+modules = sorted(glob.glob(os.path.join(os.path.dirname(__file__), "*.py")))
__all__ = [ os.path.basename(f)[:-3] for f in modules if f not in [
"__init__.py", "utils.py" ] ]
#.
diff --git a/cmk/gui/plugins/sidebar/__init__.py b/cmk/gui/plugins/sidebar/__init__.py
index 7054431..7e96ca9 100644
--- a/cmk/gui/plugins/sidebar/__init__.py
+++ b/cmk/gui/plugins/sidebar/__init__.py
@@ -27,7 +27,7 @@
import os
import glob
-modules = glob.glob(os.path.join(os.path.dirname(__file__), "*.py"))
+modules = sorted(glob.glob(os.path.join(os.path.dirname(__file__), "*.py")))
__all__ = [ os.path.basename(f)[:-3] for f in modules if f not in [
"__init__.py", "utils.py" ] ]
#.
diff --git a/cmk/gui/plugins/userdb/__init__.py b/cmk/gui/plugins/userdb/__init__.py
index 1d6268e..b2a8a80 100644
--- a/cmk/gui/plugins/userdb/__init__.py
+++ b/cmk/gui/plugins/userdb/__init__.py
@@ -31,7 +31,7 @@ import abc
from cmk.gui.i18n import _
from cmk.gui.globals import html
-modules = glob.glob(os.path.join(os.path.dirname(__file__), "*.py"))
+modules = sorted(glob.glob(os.path.join(os.path.dirname(__file__), "*.py")))
__all__ = [ os.path.basename(f)[:-3] for f in modules if f not in [
"__init__.py", "utils.py" ] ]
#.
diff --git a/cmk/gui/plugins/views/icons/__init__.py
b/cmk/gui/plugins/views/icons/__init__.py
index a2ef9c0..3f9d367 100644
--- a/cmk/gui/plugins/views/icons/__init__.py
+++ b/cmk/gui/plugins/views/icons/__init__.py
@@ -34,7 +34,7 @@ import cmk.gui.config as config
from cmk.gui.globals import html
from cmk.gui.htmllib import HTML
-modules = glob.glob(os.path.join(os.path.dirname(__file__), "*.py"))
+modules = sorted(glob.glob(os.path.join(os.path.dirname(__file__), "*.py")))
__all__ = [ os.path.basename(f)[:-3] for f in modules if f not in [
"__init__.py", "utils.py" ] ]
#.
diff --git a/cmk/gui/plugins/views/perfometers/__init__.py
b/cmk/gui/plugins/views/perfometers/__init__.py
index 1029465..ce44307 100644
--- a/cmk/gui/plugins/views/perfometers/__init__.py
+++ b/cmk/gui/plugins/views/perfometers/__init__.py
@@ -43,7 +43,7 @@ from cmk.gui.globals import html
from cmk.gui.htmllib import HTML
from cmk.gui.exceptions import MKGeneralException
-modules = glob.glob(os.path.join(os.path.dirname(__file__), "*.py"))
+modules = sorted(glob.glob(os.path.join(os.path.dirname(__file__), "*.py")))
__all__ = [ os.path.basename(f)[:-3] for f in modules if f not in [
"__init__.py", "utils.py" ] ]
#.
diff --git a/cmk/gui/plugins/wato/__init__.py b/cmk/gui/plugins/wato/__init__.py
index 6ddf308..00df213 100644
--- a/cmk/gui/plugins/wato/__init__.py
+++ b/cmk/gui/plugins/wato/__init__.py
@@ -27,7 +27,7 @@
import os
import glob
-modules = glob.glob(os.path.join(os.path.dirname(__file__), "*.py"))
+modules = sorted(glob.glob(os.path.join(os.path.dirname(__file__), "*.py")))
__all__ = [ os.path.basename(f)[:-3] for f in modules if f not in [
"__init__.py", "utils.py" ] ]
#.