r100075 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r100074‎ | r100075 | r100076 >
Date:19:36, 17 October 2011
Author:ariel
Status:deferred
Tags:
Comment:
count the number of arguments correctly. and don't fix bugs while jetlagged.
Modified paths:
  • /branches/ariel/xmldumps-backup/monitor.py (modified) (history)

Diff [purge]

Index: branches/ariel/xmldumps-backup/monitor.py
@@ -47,7 +47,7 @@
4848
4949 if __name__ == "__main__":
5050 # can specify name of alternate config file
51 - if (len(sys.argv) > 2):
 51+ if (len(sys.argv) >= 2):
5252 config = WikiDump.Config(sys.argv[1])
5353 else:
5454 config = WikiDump.Config()

Status & tagging log