Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exists not owned #45

Merged
merged 3 commits into from
Dec 6, 2017
Merged

Conversation

martindurant
Copy link
Member

Maybe fixes #44

gcsfs/core.py Outdated
try:
self._list_bucket(bucket)
return True
except:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We probably want to avoid bare except blocks. They also catch things like KeyboardInterrupts. At the very least we should do except Exception:

@martindurant martindurant merged commit 65c9ab7 into fsspec:master Dec 6, 2017
@martindurant martindurant deleted the exists_not_owned branch December 6, 2017 00:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GCSMap fails when we don't have strong permissions
2 participants