Back to index

plone3  3.1.7
Classes | Functions | Variables
MimetypesRegistry.common Namespace Reference

Classes

class  MimeTypeException

Functions

def log

Variables

tuple STRING_TYPES = (UnicodeType, StringType)
tuple logger = logging.getLogger('MimetypesRegistry')
tuple _www = os.path.join(os.path.dirname(__file__), 'www')
tuple skins_dir = os.path.join(os.path.dirname(__file__), 'skins')

Detailed Description

some common utilities

Class Documentation

class MimetypesRegistry::common::MimeTypeException

Definition at line 9 of file common.py.


Function Documentation

def MimetypesRegistry.common.log (   msg,
  severity = logging.INFO,
  id = 'MimetypesRegistry' 
)

Definition at line 15 of file common.py.

00015 
00016 def log(msg, severity=logging.INFO, id='MimetypesRegistry'):
00017     logger.log(severity, msg)
00018 
# directory where template for the ZMI are located

Variable Documentation

tuple MimetypesRegistry.common._www = os.path.join(os.path.dirname(__file__), 'www')

Definition at line 20 of file common.py.

tuple MimetypesRegistry.common.logger = logging.getLogger('MimetypesRegistry')

Definition at line 13 of file common.py.

tuple MimetypesRegistry.common.skins_dir = os.path.join(os.path.dirname(__file__), 'skins')

Definition at line 21 of file common.py.

tuple MimetypesRegistry.common.STRING_TYPES = (UnicodeType, StringType)

Definition at line 7 of file common.py.