summarylogtreecommitdiffstats
path: root/0003-set-python2-for-endpointscfg-py.patch
diff options
context:
space:
mode:
authorBenjamin Denhartog2020-01-23 19:50:11 -0800
committerBenjamin Denhartog2020-01-23 20:41:46 -0800
commit2c3b78123668f8f32b5a64181550eb702a5303f9 (patch)
tree5c56d9daa7bfb03ed79425ece797d096ae91d49d /0003-set-python2-for-endpointscfg-py.patch
parent5ab0c1c93ca87c61f7c794cc09d95e82682a76d1 (diff)
downloadaur-2c3b78123668f8f32b5a64181550eb702a5303f9.tar.gz
fix(google-cloud-sdk): add patch file to force endpointscfg.py to python2
endpointscfg.py does not currently support Python3. See `gcloud topic startup` [0] for more information. [0]: https://cloud.google.com/sdk/gcloud/reference/topic/startup
Diffstat (limited to '0003-set-python2-for-endpointscfg-py.patch')
-rw-r--r--0003-set-python2-for-endpointscfg-py.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/0003-set-python2-for-endpointscfg-py.patch b/0003-set-python2-for-endpointscfg-py.patch
new file mode 100644
index 000000000000..93e590a6a284
--- /dev/null
+++ b/0003-set-python2-for-endpointscfg-py.patch
@@ -0,0 +1,9 @@
+diff -urN --color a/bin/endpointscfg.py b/bin/endpointscfg.py
+--- a/bin/endpointscfg.py 2020-01-23 20:12:58.838993348 -0800
++++ b/bin/endpointscfg.py 2020-01-23 20:13:14.125618291 -0800
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python2
+ #
+ # Copyright 2015 Google Inc. All Rights Reserved.
+ #