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

def textRouter::TextRouter::checkManilaAccounts (   self,
  toCheck = 0 
)

This checks that at least one Manila account is defined and that there is an active account.

Definition at line 2276 of file textRouter.py.

02276                                               :
        """This checks that at least one Manila account is defined and that there is an active account."""
        code = 1
        if toCheck & 2 and self.theCurrentManilaAccount == -1:
            self.status("Warning: You must set a Manila account as active.")
            code = 0

        if toCheck & 1 and self.theManilaAccounts == []:
            self.status("Warning: No Manila accounts have been defined.")
            code = 0
        return code

    def checkBloggerAccounts(self, toCheck = 0):


Generated by  Doxygen 1.6.0   Back to index