comparison MoinMoin/scripts/packages/create_pagepacks.py @ 349:b0527dd2174c

Let the create_pagepacks read the page list from the local wiki and not from moinmaster. imported from: moin--main--1.5--patch-353
author Alexander Schremmer <alex@alexanderweb.de.tla>
date Fri, 30 Dec 2005 20:06:20 +0000
parents 14d0a26ab4ec
children be33ecd58d4e
comparison
equal deleted inserted replaced
348:f308f9478d51 349:b0527dd2174c
34 34
35 def buildPageSets(): 35 def buildPageSets():
36 """ Calculates which pages should go into which package. """ 36 """ Calculates which pages should go into which package. """
37 pageSets = {} 37 pageSets = {}
38 38
39 allPages = Set(xmlrpclib.ServerProxy(master_url).getAllPages()) 39 #allPages = Set(xmlrpclib.ServerProxy(master_url).getAllPages())
40 allPages = Set(request.rootpage.getPageList())
40 41
41 systemPages = wikidicts.Group(request, "SystemPagesGroup").members() 42 systemPages = wikidicts.Group(request, "SystemPagesGroup").members()
42 43
43 for pagename in systemPages: 44 for pagename in systemPages:
44 if pagename.endswith("Group"): 45 if pagename.endswith("Group"):