def initialize(module_name): """ Initialization function. Must be here always. """ global filter_function global debug # Get the level of debug debug = int(rule_manager.get_property(None, module_name, 'debug')) filter_function = process_filters.initialize_filter(module_name) return
def initialize(module_name): """ Initialization function. Must be here always. """ global svn_client global filter_function global debug # Get the level of debug debug = int(rule_manager.get_property(None, module_name, 'debug')) filter_function = process_filters.initialize_filter(module_name) svn_client = pysvn.Client() svn_client.exception_style = 1 return