Logo Search packages:      
Sourcecode: zope-callprofiler version File versions

def CallProfiler::CallProfiler::CallProfiler::isPublisherHookInstalled (   self  ) 

Detect the presence of the publisher hook

Definition at line 242 of file CallProfiler.py.

00242                                       :
        '''Detect the presence of the publisher hook
        '''
        import ZPublisher.Publish
        return hasattr(ZPublisher.Publish, 'profiler_publish_original')

    #
    # Results handling code


Generated by  Doxygen 1.6.0   Back to index