mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 08:33:54 +00:00
ebfb266f31
Upon every API call, this program will check the API version and make a request to PyPi to check the latest version and, if not latest, will show a warning like > The API responded with version 1.2.4, which is newer than the CLI's > version of 1.2.3. Please update the CLI to get access to the newest > features. You can update with a simple `pip install --upgrade > linode-cli` This is not really useful with Nix, as the update message is wrong. And connecting to a third-party on each usage is not desired, either.
12 lines
397 B
Diff
12 lines
397 B
Diff
--- a/linodecli/cli.py
|
|
+++ b/linodecli/cli.py
|
|
@@ -555,7 +555,7 @@
|
|
if self.debug_request:
|
|
self.print_response_debug_info(result)
|
|
|
|
- if not self.suppress_warnings:
|
|
+ if False:
|
|
# check the major/minor version API reported against what we were built
|
|
# with to see if an upgrade should be available
|
|
api_version_higher = False
|