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

Unified Diff: third_party/oauth2client/keyring_storage.py

Issue 1085893002: Upgrade 3rd packages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: rebase Created 5 years, 8 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
Index: third_party/oauth2client/keyring_storage.py
diff --git a/third_party/oauth2client/keyring_storage.py b/third_party/oauth2client/keyring_storage.py
index efe2949cd55d4012bcd9b68f973909c690f7d136..512ac7755b5487e207e2725d222d6010f54951eb 100644
--- a/third_party/oauth2client/keyring_storage.py
+++ b/third_party/oauth2client/keyring_storage.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2012 Google Inc.
+# Copyright 2014 Google Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -19,11 +19,12 @@ A Storage for Credentials that uses the keyring module.
__author__ = 'jcgregorio@google.com (Joe Gregorio)'
-import keyring
import threading
-from client import Storage as BaseStorage
+import keyring
+
from client import Credentials
+from client import Storage as BaseStorage
class Storage(BaseStorage):
@@ -106,4 +107,4 @@ class Storage(BaseStorage):
Args:
credentials: Credentials, the credentials to store.
"""
- keyring.set_password(self._service_name, self._user_name, '')
+ keyring.set_password(self._service_name, self._user_name, '')

Powered by Google App Engine
This is Rietveld 408576698