Skip to content

Commit

Permalink
Merge pull request #129 from qibin-google/master
Browse files Browse the repository at this point in the history
Skip gcsfs registration to dask if dask is not installed
  • Loading branch information
martindurant committed Feb 20, 2019
2 parents 11cdeee + 1e9f9a8 commit 4ee7c38
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion gcsfs/dask_link.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import logging

from .core import GCSFileSystem

logger = logging.getLogger('gcsfs')


def register():
"""
Expand Down Expand Up @@ -121,4 +125,4 @@ def walk(self, path, refresh=False):
try:
register()
except ImportError as e:
print(e)
logger.debug(e)

0 comments on commit 4ee7c38

Please sign in to comment.