gs: process etag when it is available (#5634)

This commit is contained in:
Batuhan Taskaya
2021-03-16 14:08:59 +02:00
committed by GitHub
parent 0b810fb256
commit 862e18488c
+2 -1
View File
@@ -31,7 +31,8 @@ class GSFileSystem(FSSpecWrapper):
return login_info
def _entry_hook(self, entry):
entry["etag"] = base64.b64decode(entry["etag"]).hex()
if "etag" in entry:
entry["etag"] = base64.b64decode(entry["etag"]).hex()
return entry
@wrap_prop(threading.Lock())