commit | fffa7d74f610637b2a213739f664826b55a904f6 | [log] [tgz] |
---|---|---|
author | Joe Gregorio <jcgregorio@google.com> | Fri Feb 18 17:20:39 2011 -0500 |
committer | Joe Gregorio <jcgregorio@google.com> | Fri Feb 18 17:20:39 2011 -0500 |
tree | 1a8d31d5a78f602863ad626a3aa2d26173ba4d43 | |
parent | 825d78d397494e2b405ee1424390e4aa7a448a46 [diff] [blame] |
Finish adding Storage to the OAuth 1.0 client and updated all examples to use file.Storage. No more three_legged_dance.py files anywhere.
diff --git a/apiclient/ext/file.py b/apiclient/ext/file.py index 0a2c97c..dba723e 100644 --- a/apiclient/ext/file.py +++ b/apiclient/ext/file.py
@@ -28,9 +28,9 @@ f = open(self._filename, 'r') credentials = pickle.loads(f.read()) f.close() + credentials.set_store(self.put) except: credentials = None - credentials.set_store(self.put) return credentials