Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(300)

Issue 6476062: Do not allow credentials files to be symlinks. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 10 months ago by jcgregorio_google
Modified:
12 years, 10 months ago
Reviewers:
Ali Afshar
CC:
google-api-python-client_googlegroups.com
Visibility:
Public.

Patch Set 1 #

Patch Set 2 : clean up #

Patch Set 3 : import order #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -8 lines) Patch
M oauth2client/file.py View 1 4 chunks +17 lines, -0 lines 0 comments Download
M oauth2client/locked_file.py View 1 4 chunks +15 lines, -0 lines 0 comments Download
M oauth2client/multistore_file.py View 1 chunk +1 line, -1 line 0 comments Download
M tests/test_oauth2client_file.py View 1 2 7 chunks +37 lines, -7 lines 1 comment Download

Messages

Total messages: 3
jcgregorio_google
12 years, 10 months ago (2012-08-24 19:22:28 UTC) #1
Ali Afshar
LGTM, but what is the motivation for this? https://codereview.appspot.com/6476062/diff/4001/tests/test_oauth2client_file.py File tests/test_oauth2client_file.py (right): https://codereview.appspot.com/6476062/diff/4001/tests/test_oauth2client_file.py#newcode206 tests/test_oauth2client_file.py:206: if ...
12 years, 10 months ago (2012-08-24 19:50:29 UTC) #2
jcgregorio_google
12 years, 10 months ago (2012-08-24 19:56:19 UTC) #3
On 2012/08/24 19:50:29, Ali Afshar wrote:
> LGTM, but what is the motivation for this?
> 
>
https://codereview.appspot.com/6476062/diff/4001/tests/test_oauth2client_file.py
> File tests/test_oauth2client_file.py (right):
> 
>
https://codereview.appspot.com/6476062/diff/4001/tests/test_oauth2client_file...
> tests/test_oauth2client_file.py:206: if hasattr(os, 'symlink'):
> otherwise, do nothing? I think that is OK.

Yeah, this test will only run on systems that support symlinks, i.e. it won't
run on Windows.

Committed in
http://code.google.com/p/google-api-python-client/source/detail?r=4cf5ed10d9d...
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b