Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
Imports all python files from the hook directory.

        def initialize():
    """Imports all python files from the hook directory."""
    global HOOKS
    if initialized:
        return
    HOOKS = PluginManager()
    HOOKS.add_directory(os.path.abspath(os.path.join(os.path.dirname(
        __file__))))
    HOOKS.rescan_directories()
        


src/d/j/django-issue-synchronisation-0.1.6/issues/management/commands/sync_issues.py   django-issue-synchronisation(Download)
    def handle(self, *args, **options):
        dry_run = options.get('dry_run')
        hooks.initialize()
        ids = []
        print args, options