From 6aa3a4ed37e4a477fdc200e2e50176e8477cf8b9 Mon Sep 17 00:00:00 2001 From: Georgy Yakovlev Date: Sat, 28 Dec 2019 00:21:08 -0800 Subject: sys-process/glances: bump to 3.1.3 EAPI=7 new distutils magic for simpler ebuild Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Georgy Yakovlev --- sys-process/glances/files/3.1.3-fix-test.patch | 28 ++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 sys-process/glances/files/3.1.3-fix-test.patch (limited to 'sys-process/glances/files') diff --git a/sys-process/glances/files/3.1.3-fix-test.patch b/sys-process/glances/files/3.1.3-fix-test.patch new file mode 100644 index 000000000000..5e087ce96ba1 --- /dev/null +++ b/sys-process/glances/files/3.1.3-fix-test.patch @@ -0,0 +1,28 @@ +From abf64ffde31113f5f46ef286703ff061fc57395f Mon Sep 17 00:00:00 2001 +From: nicolargo +Date: Sat, 12 Oct 2019 11:45:36 +0200 +Subject: [PATCH] Correct unitest + +--- + glances/plugins/glances_plugin.py | 7 ++++--- + 1 file changed, 4 insertions(+), 3 deletions(-) + +diff --git a/glances/plugins/glances_plugin.py b/glances/plugins/glances_plugin.py +index 6a1c8606..23a76f80 100644 +--- a/glances/plugins/glances_plugin.py ++++ b/glances/plugins/glances_plugin.py +@@ -86,10 +86,11 @@ def __init__(self, + self.stats_history = self.init_stats_history() + + # Init the limits (configuration keys) dictionnary +- logger.debug('Load section {} in {}'.format(self.plugin_name, +- config.config_file_paths())) + self._limits = dict() +- self.load_limits(config=config) ++ if config is not None: ++ logger.debug('Load section {} in {}'.format(self.plugin_name, ++ config.config_file_paths())) ++ self.load_limits(config=config) + + # Init the actions + self.actions = GlancesActions(args=args) -- cgit v1.2.3-65-gdbad