1
0
Fork 0
forked from github/pelican

Put deprecation code in a separate place

This commit is contained in:
Alexis Metaireau 2012-03-11 01:59:04 +01:00
commit d6be2fb44c
2 changed files with 39 additions and 30 deletions

View file

@ -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()