Package wtf :: Module config :: Class RecursiveIncludeError
[hide private]
[frames] | no frames]

Class RecursiveIncludeError

source code

              object --+                    
                       |                    
exceptions.BaseException --+                
                           |                
        exceptions.Exception --+            
                               |            
                           Error --+        
                                   |        
                  ConfigurationError --+    
                                       |    
                              ParseError --+
                                           |
                                          RecursiveIncludeError

Recursive Include Detected
Instance Methods [hide private]
 
__init__(self, filename, lineno, included)
Initialization
source code

Inherited from ParseError: __str__

Inherited from exceptions.Exception: __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __repr__, __setattr__, __setstate__, __unicode__

Inherited from object: __format__, __hash__, __reduce_ex__, __sizeof__, __subclasshook__

Class Variables [hide private]
str _MESSAGE = 'Recursive include detected in %(filename)r, line %...
The message format string
Instance Variables [hide private]

Inherited from ParseError: filename, lineno

Properties [hide private]

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__

Method Details [hide private]

__init__(self, filename, lineno, included)
(Constructor)

source code 
Initialization
Parameters:
  • filename (basestring) - The name of the file, where the error occured
  • lineno (int) - The erroneous line number
  • included (basestring) - recursively included file
Overrides: object.__init__

Class Variable Details [hide private]

_MESSAGE

The message format string
Type:
str
Value:
'Recursive include detected in %(filename)r, line %(lineno)d: %(includ\
ed)r'