initial stage
This commit is contained in:
parent
132d3a45b1
commit
26e8789d30
|
@ -40,7 +40,7 @@ def s3_untar():
|
|||
dst_key = context["params"]["dst_key_prefix"] + "/" + member.name
|
||||
dst_key = os.path.normpath(dst_key)
|
||||
# Ignore directories, links, devices, fifos, etc.
|
||||
if not member.isfile():
|
||||
if (not member.isfile()) or member.name.endswith('/'):
|
||||
print(f"Skipping {member.name} to {dst_key}")
|
||||
continue
|
||||
print(f"Extracting {member.name} to {dst_key}")
|
||||
|
|
Loading…
Reference in New Issue