~ubuntu-branches/ubuntu/intrepid/moin/intrepid-updates

« back to all changes in this revision

Viewing changes to MoinMoin/scripts/migration/12_to_13_mig01.py

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2006-02-14 16:09:24 UTC
  • mfrom: (0.2.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20060214160924-fyrx3gvknzqvt4vj
Tags: 1.5.2-1ubuntu1
Drop python2.3 package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
149
149
            fields[0] = qf_convert_string(fields[0], enc_from, enc_to)
150
150
            fields[2] = str(wikiutil.timestamp2version(float(fields[2])))
151
151
            if len(fields) < 6:
152
 
                fields.append('SAVE')
 
152
                fields.append('') # comment
 
153
            if len(fields) < 7:
 
154
                fields.append('SAVE') # action
153
155
            fields[5] = convert_string(fields[5], enc_from, enc_to)
154
156
            line = '\t'.join(fields) + '\n'
155
157
            file_to.write(line)