# HG changeset patch # User Franz Glasner # Date 1637324861 -3600 # Node ID 5286df5aeefe8e7d726f99753c2790d127454658 # Parent af367e1d09503051216f091958167b3e482c092d Allow a jailed configuration to return its base configuration via a property diff -r af367e1d0950 -r 5286df5aeefe configmix/config.py --- a/configmix/config.py Fri Nov 19 13:26:53 2021 +0100 +++ b/configmix/config.py Fri Nov 19 13:27:41 2021 +0100 @@ -726,6 +726,11 @@ self._pathstr = '' self.rebind(config) + @property + def base(self): + """Ask for the base (aka parent) configuration""" + return self._base + def rebind(self, new_base): """Bind the jail to a new unjailed configuration `new_base`.