summaryrefslogtreecommitdiff
path: root/python/skytools/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/skytools/config.py')
-rw-r--r--python/skytools/config.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/skytools/config.py b/python/skytools/config.py
index 3e58139b..6dce4045 100644
--- a/python/skytools/config.py
+++ b/python/skytools/config.py
@@ -34,6 +34,8 @@ class Config(object):
'job_name': job_name,
'service_name': main_section,
'host_name': socket.gethostname(),
+ 'config_dir': os.path.dirname(filename),
+ 'config_file': filename,
}
self.defs.update(user_defs)