Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: client/third_party/google/auth/__init__.py

Issue 2953253003: Replace custom blob gRPC API with ByteStream (Closed)
Patch Set: Import ndb directly to test code Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/third_party/google/README.swarming ('k') | client/third_party/google/auth/_cloud_sdk.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/third_party/google/auth/__init__.py
diff --git a/client/third_party/googleapiclient/__init__.py b/client/third_party/google/auth/__init__.py
similarity index 65%
copy from client/third_party/googleapiclient/__init__.py
copy to client/third_party/google/auth/__init__.py
index ceeae8d19d45eb117305a399e144749649fdb216..65e13951ca4800c295170b6f758184fbfb9f3106 100644
--- a/client/third_party/googleapiclient/__init__.py
+++ b/client/third_party/google/auth/__init__.py
@@ -1,4 +1,4 @@
-# Copyright 2014 Google Inc. All Rights Reserved.
+# Copyright 2016 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -12,4 +12,17 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-__version__ = "1.4.2"
+"""Google Auth Library for Python."""
+
+import logging
+
+from google.auth._default import default
+
+
+__all__ = [
+ 'default',
+]
+
+
+# Set default logging handler to avoid "No handler found" warnings.
+logging.getLogger(__name__).addHandler(logging.NullHandler())
« no previous file with comments | « client/third_party/google/README.swarming ('k') | client/third_party/google/auth/_cloud_sdk.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698