Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes
CMFCore.FSMetadata.CMFConfigParser Class Reference
Inheritance diagram for CMFCore.FSMetadata.CMFConfigParser:
Inheritance graph
[legend]
Collaboration diagram for CMFCore.FSMetadata.CMFConfigParser:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def optionxform

Static Public Attributes

tuple OPTCRE

Detailed Description

This our wrapper around ConfigParser to
solve a few minor niggles with the code 

Definition at line 29 of file FSMetadata.py.


Member Function Documentation

def CMFCore.FSMetadata.CMFConfigParser.optionxform (   self,
  optionstr 
)
Stop converting the key to lower case, very annoying for security etc

Definition at line 42 of file FSMetadata.py.

00042 
00043     def optionxform(self, optionstr):
00044         """
00045         Stop converting the key to lower case, very annoying for security etc
00046         """
00047         return optionstr.strip()


Member Data Documentation

Initial value:
re.compile(
        r'(?P<option>[]\-[ \w_.*,(){}]+)'      # a lot of stuff found by IvL
        r'[ \t]*(?P<vi>[:=])[ \t]*'           # any number of space/tab,
                                              # followed by separator
                                              # (either : or =), followed
                                              # by any # space/tab
        r'(?P<value>.*)$'                     # everything up to eol
        )

Definition at line 33 of file FSMetadata.py.


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