X-Git-Url: https://code.grnet.gr/git/pithos/blobdiff_plain/390c77303ae15fcae48f70e1970c435b69ebade9..9086b0812f37461ab9326280eceda80bf5f60ba1:/pithos/settings.py diff --git a/pithos/settings.py b/pithos/settings.py index 420fb2b..d26da09 100644 --- a/pithos/settings.py +++ b/pithos/settings.py @@ -32,7 +32,8 @@ # or implied, of GRNET S.A. from glob import glob -from os.path import abspath, dirname, join +from os import umask +from os.path import abspath, dirname, exists, join PROJECT_PATH = dirname(abspath(__file__)) @@ -42,3 +43,8 @@ conffiles = glob(join(PROJECT_PATH, 'settings.d', '*.conf')) for conf in sorted(conffiles): execfile(conf) + +conf = join(PROJECT_PATH, 'settings.local') + +if exists(conf): + execfile(conf)