diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2019-12-28 00:21:08 -0800 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2019-12-28 00:23:59 -0800 |
commit | 6aa3a4ed37e4a477fdc200e2e50176e8477cf8b9 (patch) | |
tree | 8f0e5538f9d5e61e15bacb2f6abfa8d844d6277e /sys-process/glances/files | |
parent | x11-libs/fox: address QA nits (diff) | |
download | gentoo-6aa3a4ed37e4a477fdc200e2e50176e8477cf8b9.tar.gz gentoo-6aa3a4ed37e4a477fdc200e2e50176e8477cf8b9.tar.bz2 gentoo-6aa3a4ed37e4a477fdc200e2e50176e8477cf8b9.zip |
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 <gyakovlev@gentoo.org>
Diffstat (limited to 'sys-process/glances/files')
-rw-r--r-- | sys-process/glances/files/3.1.3-fix-test.patch | 28 |
1 files changed, 28 insertions, 0 deletions
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 <nicolas@nicolargo.com> +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) |