diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/admin/google-cloud-sdk/gsutil-disable-updates.patch')
-rw-r--r-- | nixpkgs/pkgs/tools/admin/google-cloud-sdk/gsutil-disable-updates.patch | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/nixpkgs/pkgs/tools/admin/google-cloud-sdk/gsutil-disable-updates.patch b/nixpkgs/pkgs/tools/admin/google-cloud-sdk/gsutil-disable-updates.patch index 1147668862b0..a262dcabf74e 100644 --- a/nixpkgs/pkgs/tools/admin/google-cloud-sdk/gsutil-disable-updates.patch +++ b/nixpkgs/pkgs/tools/admin/google-cloud-sdk/gsutil-disable-updates.patch @@ -2,7 +2,7 @@ diff --git a/platform/gsutil/gslib/command_runner.py b/platform/gsutil/gslib/com index f490bb3..dc6bbcc 100644 --- a/platform/gsutil/gslib/command_runner.py +++ b/platform/gsutil/gslib/command_runner.py -@@ -330,17 +330,6 @@ class CommandRunner(object): +@@ -330,18 +330,6 @@ class CommandRunner(object): Returns: Return value(s) from Command that was run. """ @@ -17,10 +17,11 @@ index f490bb3..dc6bbcc 100644 - if system_util.IsRunningInteractively() and collect_analytics: - metrics.CheckAndMaybePromptForAnalyticsEnabling() - +- self.MaybePromptForPythonUpdate(command_name) + if not args: args = [] - -@@ -413,18 +402,10 @@ class CommandRunner(object): +@@ -415,15 +403,6 @@ class CommandRunner(object): ShutDownGsutil() if GetFailureCount() > 0: return_code = 1 @@ -35,6 +36,10 @@ index f490bb3..dc6bbcc 100644 - ))) return return_code + def SkipUpdateCheck(self): +@@ -467,6 +446,7 @@ class CommandRunner(object): + return True + def MaybeCheckForAndOfferSoftwareUpdate(self, command_name, debug): + return False """Checks the last time we checked for an update and offers one if needed. |