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

« back to all changes in this revision

Viewing changes to MoinMoin/i18n/po2wiki.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:
4
4
    prepend some processing instructions to a .po file to be able to put it
5
5
    onto moinmaster wiki, letting it get processed by gettext parser
6
6
"""
7
 
import sys, xmlrpclib
 
7
import sys, os, xmlrpclib
8
8
sys.path.insert(0, '../..')
9
9
 
10
10
excluded = ["en",] # languages managed in tla repository, not in wiki
43
43
from MoinMoin.support.BasicAuthTransport import BasicAuthTransport
44
44
 
45
45
user = "ThomasWaldmann" # must be a known Wiki account
46
 
password = "wrong"
 
46
password = os.environ.get("PASS", "")
47
47
pagename = "MoinI18n/%s" % lang
48
48
pagedata = data.encode('utf-8')
49
49