Back to index

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

List of all members.

Public Member Functions

def __unicode__
def __str__
def __getitem__

Public Attributes

 message

Detailed Description

Definition at line 80 of file PageEditor.py.


Member Function Documentation

def MoinMoin.error.Error.__getitem__ (   self,
  item 
) [inherited]
Make it possible to access attributes like a dict 

Definition at line 53 of file error.py.

00053 
00054     def __getitem__(self, item):
00055         """ Make it possible to access attributes like a dict """
00056         return getattr(self, item)
00057 

Here is the caller graph for this function:

def MoinMoin.error.Error.__str__ (   self) [inherited]
Return encoded message 

Definition at line 46 of file error.py.

00046 
00047     def __str__(self):
00048         """ Return encoded message """
00049         if isinstance(self.message, unicode):
00050             return self.message.encode(config.charset)
00051         else:
00052             return str(self.message)

def MoinMoin.error.Error.__unicode__ (   self) [inherited]
Return unicode error message 

Definition at line 39 of file error.py.

00039 
00040     def __unicode__(self):
00041         """ Return unicode error message """
00042         if isinstance(self.message, str):
00043             return unicode(self.message, config.charset)
00044         else:
00045             return unicode(self.message)


Member Data Documentation

Definition at line 37 of file error.py.


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