Mercurial > hgrepos > Python > libs > ConfigMix
comparison configmix/config.py @ 655:b74f20e19c01
Docstring: be more accurate now in ".jailed()"
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sun, 29 May 2022 15:32:54 +0200 |
| parents | e8f3e970e411 |
| children | 2b1c7a68f913 |
comparison
equal
deleted
inserted
replaced
| 654:0d6673d06c2c | 655:b74f20e19c01 |
|---|---|
| 1042 return value | 1042 return value |
| 1043 | 1043 |
| 1044 def jailed(self, rootpath=None, root=None, bind_root=True): | 1044 def jailed(self, rootpath=None, root=None, bind_root=True): |
| 1045 """Return a "jailed" configuration of the current configuration. | 1045 """Return a "jailed" configuration of the current configuration. |
| 1046 | 1046 |
| 1047 :param rootpath: a sequence of strings that shall emcompass | 1047 :param rootpath: a sequence of strings (or objects) that shall |
| 1048 the chroot-like jail of the returned | 1048 emcompass the chroot-like jail of the returned |
| 1049 configuration | 1049 configuration |
| 1050 :type rootpath: list or tuple | 1050 :type rootpath: list or tuple |
| 1051 :param str root: a string path expression that shall encompass | 1051 :param str root: a string path expression that shall encompass |
| 1052 the chroot-like jail of the returned configuration | 1052 the chroot-like jail of the returned configuration |
| 1053 :param bool bind_root: if you do a :meth:`~.rebind` just after | 1053 :param bool bind_root: if you do a :meth:`~.rebind` just after |
