Show More
@@ -521,22 +521,23 b' def repo2db_mapper(initial_repo_dict, re' | |||
|
521 | 521 | |
|
522 | 522 | |
|
523 | 523 | def load_extensions(root_path): |
|
524 | path = os.path.join(root_path, 'rcextensions', '__init__.py') | |
|
525 | if os.path.isfile(path): | |
|
526 | ext = create_module('rc', path) | |
|
524 | try: | |
|
525 | ext = create_module('rc', os.path.join(root_path, 'rcextensions', '__init__.py')) | |
|
526 | except FileNotFoundError: | |
|
527 | return | |
|
528 | ||
|
529 | log.info('Loaded rcextensions from %s', ext) | |
|
527 | 530 |
|
|
528 | log.debug('Found rcextensions now loading %s...', ext) | |
|
529 | 531 | |
|
530 | 532 |
|
|
531 | 533 |
|
|
532 | 534 | |
|
533 | # OVERRIDE OUR EXTENSIONS FROM RC-EXTENSIONS (if present) | |
|
534 | ||
|
535 | # Override any INDEX_EXTENSIONS | |
|
535 | 536 |
|
|
536 | 537 |
|
|
537 | 538 |
|
|
538 | 539 | |
|
539 | # ADDITIONAL MAPPINGS | |
|
540 | # Additional INDEX_EXTENSIONS | |
|
540 | 541 |
|
|
541 | 542 |
|
|
542 | 543 |
General Comments 0
You need to be logged in to leave comments.
Login now