Back to index

moin  1.9.0~rc2
Public Member Functions | Public Attributes
MoinMoin.security.antispam.WikirpcError Class Reference
Inheritance diagram for MoinMoin.security.antispam.WikirpcError:
Inheritance graph
[legend]
Collaboration diagram for MoinMoin.security.antispam.WikirpcError:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def __str__

Public Attributes

 msg
 fault

Detailed Description

Raised when we get xmlrpclib.Fault 

Definition at line 26 of file antispam.py.


Constructor & Destructor Documentation

def MoinMoin.security.antispam.WikirpcError.__init__ (   self,
  msg,
  fault 
)
Init with msg and xmlrpclib.Fault dict 

Definition at line 29 of file antispam.py.

00029 
00030     def __init__(self, msg, fault):
00031         """ Init with msg and xmlrpclib.Fault dict """
00032         self.msg = msg
00033         self.fault = fault


Member Function Documentation

Format the using description and data from the fault 

Reimplemented from MoinMoin.security.antispam.Error.

Definition at line 34 of file antispam.py.

00034 
00035     def __str__(self):
00036         """ Format the using description and data from the fault """
00037         return self.msg + ": [%(faultCode)s]  %(faultString)s" % self.fault
00038 
00039 
00040 # Functions ------------------------------------------------------------


Member Data Documentation

Definition at line 32 of file antispam.py.

Definition at line 31 of file antispam.py.


The documentation for this class was generated from the following file: