Skip to content

Commit

Permalink
Fix listing large buckets
Browse files Browse the repository at this point in the history
  • Loading branch information
vmarkovtsev committed Aug 16, 2016
1 parent 12ad86f commit 09aa60c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions jgscm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,8 @@ def _fetch(self, path, content=True):
return True, None
if bucket is None:
return False, None
if bucket_path == "" and not content:
return True, None
if bucket_path == "" or bucket_path.endswith("/"):
if bucket_path != "":
exists = bucket.blob(bucket_path).exists()
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
setup(
name="jgscm",
description="Jupyter Google Cloud Storage ContentsManager",
version="0.1.1",
version="0.1.2",
license="MIT",
author="Vadim Markovtsev",
author_email="[email protected]",
Expand Down

0 comments on commit 09aa60c

Please sign in to comment.