~ubuntu-branches/ubuntu/natty/moin/natty-updates

« back to all changes in this revision

Viewing changes to MoinMoin/script/xmlrpc/write.py

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2008-06-22 21:17:13 UTC
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: james.westby@ubuntu.com-20080622211713-inlv5k4eifxckelr
ImportĀ upstreamĀ versionĀ 1.7.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
import sys
11
11
 
12
12
from MoinMoin.script import MoinScript
13
 
 
 
13
from MoinMoin.support.multicall import MultiCall
14
14
 
15
15
class PluginScript(MoinScript):
16
16
    """\
65
65
            content = sys.stdin.read()
66
66
 
67
67
            # build a multicall object that
68
 
            mcall = xmlrpclib.MultiCall(s)
 
68
            mcall = MultiCall(s)
69
69
            # first applies the token and
70
70
            mcall.applyAuthToken(token)
71
71
            # then edits the page