summaryrefslogtreecommitdiff
path: root/sys-process/glances/files/disable-update-check.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-process/glances/files/disable-update-check.patch')
-rw-r--r--sys-process/glances/files/disable-update-check.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/sys-process/glances/files/disable-update-check.patch b/sys-process/glances/files/disable-update-check.patch
deleted file mode 100644
index 3706959c2fbb..000000000000
--- a/sys-process/glances/files/disable-update-check.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-Description: Disable nagging suggestion to upgrade using pip
-Author: Sebastien Badia <sbadia@debian.org>
-Bug-Debian: https://bugs.debian.org/877127
-Forwarded: not-needed
-Last-Update: 2019-02-07
-
---- a/glances/standalone.py
-+++ b/glances/standalone.py
-@@ -92,9 +92,6 @@
- # 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
-@@ -156,9 +153,3 @@
-
- # 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")