r109918 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r109917‎ | r109918 | r109919 >
Date:10:34, 24 January 2012
Author:ariel
Status:deferred
Tags:
Comment:
make getlatestdir actually get latest instead of first :-P
Modified paths:
  • /branches/ariel/xmldumps-backup/incrementals/IncrDumpLib.py (modified) (history)

Diff [purge]

Index: branches/ariel/xmldumps-backup/incrementals/IncrDumpLib.py
@@ -406,7 +406,7 @@
407407 dirs = self.getIncDumpDirs()
408408 if dirs:
409409 if ok:
410 - for dump in dirs:
 410+ for dump in reversed(dirs):
411411 statusInfo = StatusInfo(self._config, dump, self.wikiName)
412412 if statusInfo.getStatus(dump) == "done":
413413 return dump

Status & tagging log