r81185 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81184‎ | r81185 | r81186 >
Date:08:29, 29 January 2011
Author:ariel
Status:deferred
Tags:
Comment:
job 'noop' added, just rebuilds md5 file and latest links
Modified paths:
  • /branches/ariel/xmldumps-backup/worker.py (modified) (history)

Diff [purge]

Index: branches/ariel/xmldumps-backup/worker.py
@@ -419,7 +419,10 @@
420420 if (item.name() == job):
421421 item.setToBeRun(True)
422422 return True
 423+ if job == "noop":
 424+ return True
423425 print "No job of the name specified exists. Choose one of the following:"
 426+ print "noop (runs no job but rewrites md5sums file and resets latest links"
424427 print "tables (includes all items below that end in 'table'"
425428 for item in self.dumpItems:
426429 print "%s " % item.name()

Status & tagging log