forked from github/pelican
Put deprecation code in a separate place
This commit is contained in:
parent
1c219d14bb
commit
d6be2fb44c
2 changed files with 39 additions and 30 deletions
|
|
@ -61,7 +61,7 @@ _DEFAULT_CONFIG = {'PATH': None,
|
|||
}
|
||||
|
||||
|
||||
def read_settings(filename):
|
||||
def read_settings(filename=None):
|
||||
"""Load a Python file into a dictionary.
|
||||
"""
|
||||
context = _DEFAULT_CONFIG.copy()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue