equal
deleted
inserted
replaced
492 if strip_init: |
492 if strip_init: |
493 path = os.path.dirname(path) |
493 path = os.path.dirname(path) |
494 if name in exts or name in _order or name == '__init__': |
494 if name in exts or name in _order or name == '__init__': |
495 continue |
495 continue |
496 exts[name] = path |
496 exts[name] = path |
497 exts.update(_disabledextensions) |
497 for name, path in _disabledextensions.iteritems(): |
|
498 # If no path was provided for a disabled extension (e.g. "color=!"), |
|
499 # don't replace the path we already found by the scan above. |
|
500 if path: |
|
501 exts[name] = path |
498 return exts |
502 return exts |
499 |
503 |
500 def _moduledoc(file): |
504 def _moduledoc(file): |
501 '''return the top-level python documentation for the given file |
505 '''return the top-level python documentation for the given file |
502 |
506 |