def NewLogfileMonitorMixin(follow_paths, pattern_paths=None):
 if ((not follow_paths) or (pattern_paths and (not follow_paths))):
  raise InvalidConfigurationError
 return type(('LogfileMonitorMixin%d' % id(follow_paths)), (LogfileMonitorMixin,), {'follow_paths': follow_paths, 'pattern_paths': (pattern_paths or ())})

def NewLogfileMonitorMixin ( follow_paths , pattern_paths = None ) : if ( ( not follow_paths ) or ( pattern_paths and ( not follow_paths ) ) ) : raise InvalidConfigurationError return type ( ( 'LogfileMonitorMixin%d' % id ( follow_paths ) ) , ( LogfileMonitorMixin , ) , { 'follow_paths' : follow_paths , 'pattern_paths' : ( pattern_paths or ( ) ) } )
create a custom in-memory subclass of logfilemonitormixin .