Merge pull request #166880 from amarshall/linode-cli-remove-update-check
linode-cli: Remove update check
This commit is contained in:
commit
e194871435
2 changed files with 15 additions and 0 deletions
|
@ -33,6 +33,10 @@ buildPythonApplication rec {
|
|||
inherit sha256;
|
||||
};
|
||||
|
||||
patches = [
|
||||
./remove-update-check.patch
|
||||
];
|
||||
|
||||
# remove need for git history
|
||||
prePatch = ''
|
||||
substituteInPlace setup.py \
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
--- 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
|
Loading…
Reference in a new issue