GitHub user ZuluPro opened a pull request:
https://github.com/apache/libcloud/pull/387
Made optional Google token file writing
I had an issue where I can't write the token file in home directory.
File reading is made as optional by a try/except IOError.
So I made the same with file writing by change
GoogleBaseConnection._write_token_info_to_file() with try/except IOError.
I use this patch in production without trouble.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ZuluPro/libcloud patch-2
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/libcloud/pull/387.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #387
----
commit 5663b2a9749bd5ced2b860aac223a97e4ac2d793
Author: ZuluPro <[email protected]>
Date: 2014-11-11T22:51:18Z
Made optional Google token file writing
I had an issue where I can't write the token file in home directory.
File reading is made as optional by a try/except IOError.
So I made the same with file writing by change
GoogleBaseConnection._write_token_info_to_file() with try/except IOError.
I use this patch in production without trouble.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---