---
koji/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/koji/__init__.py b/koji/__init__.py
index e7a66f2..81064c3 100644
--- a/koji/__init__.py
+++ b/koji/__init__.py
@@ -2047,7 +2047,7 @@ class ClientSession(object):
result = self._callMethod('checkUpload', (path, name), chk_opts)
if int(result['size']) != ofs:
raise GenericError, "Uploaded file is wrong length: %s/%s, %s != %s" \
- % (path, name, result['sumlength'], ofs)
+ % (path, name, result['size'], ofs)
if problems and result['hexdigest'] != full_chksum.hexdigest():
raise GenericError, "Uploaded file has wrong checksum: %s/%s, %s != %s" \
% (path, name, result['hexdigest'], full_chksum.hexdigest())
--
2.1.0