diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2024-08-20 08:36:10 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2024-08-20 09:52:47 +0300 |
commit | e9d7382584a75bb5be97be6207795c4195e1c034 (patch) | |
tree | 73dedd6943e5881d70432df43e056cec07acf4f8 /sys-process/glances | |
parent | net-firewall/firewalld: remove unused file (diff) | |
download | gentoo-e9d7382584a75bb5be97be6207795c4195e1c034.tar.gz gentoo-e9d7382584a75bb5be97be6207795c4195e1c034.tar.bz2 gentoo-e9d7382584a75bb5be97be6207795c4195e1c034.zip |
sys-process/glances: remove unused patch
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'sys-process/glances')
-rw-r--r-- | sys-process/glances/files/glances-3.4.0.3-disable-update-check.patch | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/sys-process/glances/files/glances-3.4.0.3-disable-update-check.patch b/sys-process/glances/files/glances-3.4.0.3-disable-update-check.patch deleted file mode 100644 index 79391aca3e4f..000000000000 --- a/sys-process/glances/files/glances-3.4.0.3-disable-update-check.patch +++ /dev/null @@ -1,40 +0,0 @@ -commit cf50275006e4bdd4a08c2235e688050a4a25a7a4 -Author: John Helmert III <ajak@gentoo.org> -Date: Sat Jun 10 10:38:03 2023 -0700 - - disable out-to-date runtime check - - Signed-off-by: John Helmert III <ajak@gentoo.org> - -diff --git a/glances/standalone.py b/glances/standalone.py -index 8ab60e8c..b1f8c454 100644 ---- a/glances/standalone.py -+++ b/glances/standalone.py -@@ -105,9 +105,6 @@ class GlancesStandalone(object): - # Init screen - self.screen = GlancesCursesStandalone(config=config, args=args) - -- # Check the latest Glances version -- self.outdated = Outdated(config=config, args=args) -- - @property - def quiet(self): - return self._quiet -@@ -186,17 +183,3 @@ class GlancesStandalone(object): - - # Exit from export modules - self.stats.end() -- -- # Check Glances version versus PyPI one -- if self.outdated.is_outdated(): -- print( -- "You are using Glances version {}, however version {} is available.".format( -- self.outdated.installed_version(), self.outdated.latest_version() -- ) -- ) -- print("You should consider upgrading using: pip install --upgrade glances") -- print("Disable this warning temporarily using: glances --disable-check-update") -- print( -- "To disable it permanently, refer config reference at " -- "https://glances.readthedocs.io/en/latest/config.html#syntax" -- ) |