Back to index

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


class  MimeTypeException


def log


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

Function Documentation

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

Definition at line 15 of file

00016 def log(msg, severity=logging.INFO, id='MimetypesRegistry'):
00017     logger.log(severity, msg)
# 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

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

Definition at line 13 of file

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

Definition at line 21 of file

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

Definition at line 7 of file