diff options
author | nicolargo <nicolas@nicolargo.com> | 2021-02-07 15:32:31 +0100 |
---|---|---|
committer | nicolargo <nicolas@nicolargo.com> | 2021-02-07 15:34:55 +0100 |
commit | 040528aab2102226cbd225acd04c51c0f8e7df32 (patch) | |
tree | 1e9ad951ddd1ad5e4d596f0e975c4e88cd25f066 | |
parent | 4c6c3d78d9d50ac1964776d72fa556c3ea1cffdf (diff) |
Glances version 3.1.6.2
-rw-r--r-- | NEWS.rst | 7 | ||||
-rw-r--r-- | docs/man/glances.1 | 2 | ||||
-rw-r--r-- | glances/__init__.py | 2 | ||||
-rw-r--r-- | glances/plugins/glances_diskio.py | 3 | ||||
-rw-r--r-- | glances/plugins/glances_network.py | 3 |
5 files changed, 13 insertions, 4 deletions
@@ -2,6 +2,13 @@ Glances Version 3 ============================================================================== +Version 3.1.6.2 +=============== + +Bugs corrected: + + * Remove bad merge for a non tested feature(see https://github.com/nicolargo/glances/issues/1787#issuecomment-774682954) + Version 3.1.6.1 =============== diff --git a/docs/man/glances.1 b/docs/man/glances.1 index a23fc394..ff3ca005 100644 --- a/docs/man/glances.1 +++ b/docs/man/glances.1 @@ -1,6 +1,6 @@ .\" Man page generated from reStructuredText. . -.TH "GLANCES" "1" "Jan 24, 2021" "3.1.6.1" "Glances" +.TH "GLANCES" "1" "Feb 07, 2021" "3.1.6.2" "Glances" .SH NAME glances \- An eye on your system . diff --git a/glances/__init__.py b/glances/__init__.py index 1b3af1fd..89669479 100644 --- a/glances/__init__.py +++ b/glances/__init__.py @@ -29,7 +29,7 @@ import sys # Global name # Version should start and end with a numerical char # See https://packaging.python.org/specifications/core-metadata/#version -__version__ = '3.1.6.1' +__version__ = '3.1.6.2' __author__ = 'Nicolas Hennion <nicolas@nicolargo.com>' __license__ = 'LGPLv3' diff --git a/glances/plugins/glances_diskio.py b/glances/plugins/glances_diskio.py index 3fe66543..9ac1e4ec 100644 --- a/glances/plugins/glances_diskio.py +++ b/glances/plugins/glances_diskio.py @@ -53,7 +53,8 @@ class Plugin(GlancesPlugin): # We want to display the stat in the curse interface self.display_curse = True # Hide stats if it has never been != 0 - self.hide_zero = True + self.hide_zero = config.get_bool_value( + self.plugin_name, 'hide_zero', default=False) self.hide_zero_fields = ['read_bytes', 'write_bytes'] def get_key(self): diff --git a/glances/plugins/glances_network.py b/glances/plugins/glances_network.py index 2adf3653..75e77c9d 100644 --- a/glances/plugins/glances_network.py +++ b/glances/plugins/glances_network.py @@ -62,7 +62,8 @@ class Plugin(GlancesPlugin): # We want to display the stat in the curse interface self.display_curse = True # Hide stats if it has never been != 0 - self.hide_zero = True + self.hide_zero = config.get_bool_value( + self.plugin_name, 'hide_zero', default=False) self.hide_zero_fields = ['rx', 'tx'] def get_key(self): |