Changeset - 2228102b99ab
default
0
1
0
extensions: preparatory refactoring
Small refactoring:
- use 'try..except' rather than 'if-then', which removes the need for a
separate 'path' variable and is more 'pythonic'.
- promote log from 'debug' to 'info' and execute it immediately after
loading before anything else.
- clarify comments related to INDEX_EXTENSIONS
Small refactoring:
- use 'try..except' rather than 'if-then', which removes the need for a
separate 'path' variable and is more 'pythonic'.
- promote log from 'debug' to 'info' and execute it immediately after
loading before anything else.
- clarify comments related to INDEX_EXTENSIONS
1 file changed with 15 insertions and 14 deletions:
0 comments (0 inline, 0 general)
0 comments (0 inline, 0 general)