# HG changeset patch # User Goohu # Date 1520414518 -3600 # Wed Mar 07 10:21:58 2018 +0100 # Branch relative-path-param # Node ID a4968aaadea6a1ac9027fa65f8a4c5d9d3341582 # Parent 3e7206bc242f5ffed03032a5a17a752287fa22e8 command line parameter: handle relative path to config file diff --git a/yoyo/config.py b/yoyo/config.py --- a/yoyo/config.py +++ b/yoyo/config.py @@ -24,7 +24,7 @@ def get_interpolation_defaults(path): - return {'here': os.path.dirname(path)} + return {'here': os.path.dirname(os.path.abspath(path))} def get_configparser(**defaults):