vcshing / google-api-python-client

Automatically exported from code.google.com/p/google-api-python-client
Other
0 stars 0 forks source link

Assuming httplib2 cache file location is bad. #89

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
http://code.google.com/p/google-api-python-client/source/browse/oauth2client/cli
ent.py#5

hasattr(os, 'tempnam') does not ensure you can make a directory within the 
current one.  Besides that, the user of the library should be allowed to 
determine file caching behavior and where that cache should live.  IMO, that's 
not a decision a library should make (especially without guarantee it won't 
fail as is currently the case).

Original issue reported on code.google.com by dgoul...@gmail.com on 29 Jan 2012 at 10:42

GoogleCodeExporter commented 9 years ago

Original comment by jcgregorio@google.com on 30 Jan 2012 at 1:30