ArielGlenn has uploaded a new change for review. https://gerrit.wikimedia.org/r/216416
Change subject: dumps: for small wikis that are dumped in one run, fix item range ...................................................................... dumps: for small wikis that are dumped in one run, fix item range previously the last item would be dumped twice, off by one error Change-Id: If083054966e40520b88cde93daccc52c4146892a --- M xmldumps-backup/xmlstreams.py 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/dumps refs/changes/16/216416/1 diff --git a/xmldumps-backup/xmlstreams.py b/xmldumps-backup/xmlstreams.py index c0d1bc3..2d302ee 100644 --- a/xmldumps-backup/xmlstreams.py +++ b/xmldumps-backup/xmlstreams.py @@ -50,9 +50,9 @@ piece_command.append("--skip-footer") if interval <= end: upto = interval + start - piece_command.extend(["--end", str(upto)]) else: - upto = end + upto = end+1 + piece_command.extend(["--end", str(upto)]) do_xml_piece(piece_command, outfiles, ends_with, dryrun) -- To view, visit https://gerrit.wikimedia.org/r/216416 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If083054966e40520b88cde93daccc52c4146892a Gerrit-PatchSet: 1 Gerrit-Project: operations/dumps Gerrit-Branch: ariel Gerrit-Owner: ArielGlenn <ar...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits