Skip to content

Commit 1df4cc1

Browse files
author
Stephen Hoover
committed
BUG Fix order of values in multipart upload log emit
1 parent b12ee59 commit 1df4cc1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
77
- Added a script for integration tests (smoke tests).
88

99
### Fixed
10-
- Added missing string formatting to a log emit in file multipart upload (#217)
10+
- Added missing string formatting to a log emit in file multipart upload and
11+
correct ordering of parameters in another log emit (#217)
1112

1213
### Changed
1314
- Updated CivisML 2.0 notebook (#214)

civis/io/_files.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def _multipart_upload(buf, name, file_size, client, **kwargs):
122122
num_parts = int(math.ceil((file_size) / float(part_size)))
123123

124124
log.debug('Uploading file with %s bytes using %s file parts with a part '
125-
'size of %s bytes', file_size, part_size, num_parts)
125+
'size of %s bytes', file_size, num_parts, part_size)
126126
file_response = client.files.post_multipart(name=name, num_parts=num_parts,
127127
**kwargs)
128128

0 commit comments

Comments
 (0)