jenkins-bot merged this change.

View Change

Approvals: Dalba: Looks good to me, approved jenkins-bot: Verified
[bugfix] Initialize chunk_size with 0

Bug: T193386
Change-Id: I567c1090cd5d231e3f810d6d3cfa21863cf5cf97
---
M scripts/upload.py
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/scripts/upload.py b/scripts/upload.py
index 2d40ba4..091457f 100755
--- a/scripts/upload.py
+++ b/scripts/upload.py
@@ -108,6 +108,7 @@
verifyDescription = True
aborts = set()
ignorewarn = set()
+ chunk_size = 0
chunk_size_regex = re.compile(
r'^-chunked(?::(\d+(?:\.\d+)?)[ \t]*(k|ki|m|mi)?b?)?$', re.I)
recursive = False

To view, visit change 429813. To unsubscribe, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I567c1090cd5d231e3f810d6d3cfa21863cf5cf97
Gerrit-Change-Number: 429813
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info@gno.de>
Gerrit-Reviewer: Dalba <dalba.wiki@gmail.com>
Gerrit-Reviewer: John Vandenberg <jayvdb@gmail.com>
Gerrit-Reviewer: Zoranzoki21 <zorandori4444@gmail.com>
Gerrit-Reviewer: jenkins-bot <>