Skip to content

Commit dca443f

Browse files
committed
start reduce chunk with correct syntax
1 parent 620e2b6 commit dca443f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

activestorage/storage.py

+2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ def reduce_chunk(rfile,
2727
"""
2828

2929
#FIXME: for the moment, open the file every time ... we might want to do that, or not
30+
obj_type = type(rfile)
31+
print(f"Reducing chunk of object {obj_type}")
3032
with open(rfile,'rb') as open_file:
3133
# get the data
3234
chunk = read_block(open_file, offset, size)

0 commit comments

Comments
 (0)