r12935 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r12934
|
r12935
|
r12936
>
Date:
07:22, 2 February 2006
Author:
vibber
Status:
old
Tags:
Comment:
Give the wrapper script a chance to pass a subset of wikis to dump, for filling in errors
Modified paths:
/trunk/backup/WikiBackup.py
(modified) (
history
)
Diff
[
purge
]
Index: trunk/backup/WikiBackup.py
—
—
@@ -140,10 +140,14 @@
141
141
142
142
"""Public methods for the manager script..."""
143
143
144
- def run(self):
144
+ def run(self, subset=[]):
145
145
"""Iterate through the list of wikis and dump them!"""
146
146
self.debug("Starting dump...")
147
- for db in self.dblist:
147
+ if subset:
148
+ runset = subset
149
+ else:
150
+ runset = self.dblist
151
+ for db in runset:
148
152
self.db = db
149
153
self.date = today()
150
154
self.failcount = 0
Status & tagging log
01:58, 13 October 2010
😂
(
talk
|
contribs
)
changed the
status
of r12935
[
removed:
new
added:
old]