r107871 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r107870‎ | r107871 | r107872 >
Date:09:22, 3 January 2012
Author:ariel
Status:deferred
Tags:
Comment:
check job dependencies for article bz2 multistream
Modified paths:
  • /branches/ariel/xmldumps-backup/worker.py (modified) (history)

Diff [purge]

Index: branches/ariel/xmldumps-backup/worker.py
@@ -801,6 +801,14 @@
802802 if ((job == "metahistorybz2dump") or (job == "metacurrentdump") or (job == "articlesdump")):
803803 if (not self.jobDoneSuccessfully("xmlstubsdump")):
804804 return False
 805+ if (job == "articlesmultistreamdump"):
 806+ if (self.chunkInfo.chunksEnabled()):
 807+ if (not self.jobDoneSuccessfully("articlesdumprecombine")):
 808+ return False
 809+ else:
 810+ if (not self.jobDoneSuccessfully("articlesdump")):
 811+ return False
 812+
805813 return True
806814
807815 def _getChunkToDo(self, jobName):

Status & tagging log