Logo Search packages:      
Sourcecode: pythoncard version File versions  Download package

def manilaaccount::ManilaAccount::manilaUploadStory (   self,
  msgNum,
  subject,
  body,
  bodyType 
)

Uploads a story.

Definition at line 188 of file manilaaccount.py.

00188                                                                 :
        """Uploads a story."""

        if (not self.checkSetupOK()):
            return
        try:
            boolTrue = xmlrpclib.Boolean(1)

            self.manilaSite.manila.message.set(self.prefs["username"], \
                                               self.getPassword(), \
                                               self.settings["sitename"], \
                                               msgNum, \
                                               subject, \
                                               body, \
                                               bodyType, \
                                               0, {'name' : 'pikeRenderer', 'flRenderOnEntry' : boolTrue} )
            self.setErrorMessage("")
        except xmlrpclib.Fault, e:
            self.setErrorMessage("Error uploading story: %s" % e.faultString)


    def manilaFlipHomepage(self):


Generated by  Doxygen 1.6.0   Back to index