Commit 94793f84 authored by Price, Zach's avatar Price, Zach
Browse files

Fix uninitialized auth_data when providing token via env

parent 1860ead7
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -45,6 +45,7 @@ class ARMFs(HTTPFileSystem):

    def __init__(self, username='', password='', block_size=None, cache_type="bytes", cache_options=None, asynchronous=False, loop=None, **storage_options):
        self.kwargs = storage_options
        self.auth_data = {}

        def deny(*args, **kwargs):
            raise OSError(errno.EROFS)