From 0e4d5bae708769d63d12270f1309d13e81cfbbfb Mon Sep 17 00:00:00 2001 From: Ian Weller Date: Mon, 21 Dec 2009 20:28:52 -0600 Subject: [PATCH] fetch: Update for new metadir functions --- src/mw/clicommands.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mw/clicommands.py b/src/mw/clicommands.py index c12663c..ccfc9cb 100644 --- a/src/mw/clicommands.py +++ b/src/mw/clicommands.py @@ -96,10 +96,10 @@ class FetchCommand(CommandBase): (self.me, response[pageid]['title']) continue revid = [x['revid'] for x in response[pageid]['revisions']] - self.metadir.add_page_info(int(pageid), - response[pageid]['title'], - revid) - self.metadir.add_rv_info(response[pageid]['revisions'][0]) + self.metadir.pagedict_add(response[pageid]['title'], + int(pageid)) + self.metadir.pages_add_rev(int(pageid), + response[pageid]['revisions'][0]) filename = response[pageid]['title'].replace(' ', '_') filename = filename.replace('/', '!') fd = file(os.path.join(self.metadir.root, filename + '.wiki'), -- 2.39.5