Index: tools/telemetry/third_party/gsutilz/third_party/protorpc/protorpc/google_imports.py |
diff --git a/tools/telemetry/third_party/gsutilz/third_party/protorpc/protorpc/google_imports.py b/tools/telemetry/third_party/gsutilz/third_party/protorpc/protorpc/google_imports.py |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7ed0f40c9470d352cff8b9043d98b7694e0b36b2 |
--- /dev/null |
+++ b/tools/telemetry/third_party/gsutilz/third_party/protorpc/protorpc/google_imports.py |
@@ -0,0 +1,15 @@ |
+"""Dynamically decide from where to import other SDK modules. |
+ |
+All other protorpc code should import other SDK modules from |
+this module. If necessary, add new imports here (in both places). |
+""" |
+ |
+__author__ = 'yey@google.com (Ye Yuan)' |
+ |
+# pylint: disable=g-import-not-at-top |
+# pylint: disable=unused-import |
+ |
+try: |
+ from google.net.proto import ProtocolBuffer |
+except ImportError: |
+ pass |