##// END OF EJS Templates
rcextensions: improved messaging on rcextensions load fail
marcink -
r3814:fda74c0c stable
parent child Browse files
Show More
@@ -634,10 +634,12 b' def load_rcextensions(root_path):'
634 634
635 635 path = os.path.join(root_path)
636 636 sys.path.append(path)
637
637 638 try:
638 639 rcextensions = __import__('rcextensions')
639 640 except ImportError:
640 log.warn('Unable to load rcextensions from %s', path)
641 if os.path.isdir(os.path.join(path, 'rcextensions')):
642 log.warn('Unable to load rcextensions from %s', path)
641 643 rcextensions = None
642 644
643 645 if rcextensions:
General Comments 0
You need to be logged in to leave comments. Login now