Back to index

moin  1.9.0~rc2
1059997.py
Go to the documentation of this file.
00001 #!/usr/bin/env python
00002 # -*- coding: iso-8859-1 -*-
00003 """
00004     MoinMoin - 1st pass of 1.6a to 1.6 migration
00005 
00006     Note: this is a special hack for some users of a early 1.6 alpha version,
00007           this code is skipped and NOT executed in a normal release-to-release
00008           migration (like when going from 1.5.x release to 1.6.0 release).
00009 
00010           If you run this early 1.6alpha code (with different link markup than
00011           1.5.x AND 1.6.x release has), you need to manually put 1059997 into
00012           your data/meta file to have this special code executed.
00013 
00014     @copyright: 2008 by Thomas Waldmann
00015     @license: GNU GPL, see COPYING for details.
00016 """
00017 
00018 from _conv160a import DataConverter
00019 
00020 def execute(script, data_dir, rev):
00021     # the first pass just creates <data_dir>/rename1.txt
00022     dc = DataConverter(script.request, data_dir, None)
00023     dc.pass1()
00024     return 1059998
00025