parameters return from root path (#1701)
This commit is contained in:
parent
51db19067c
commit
dcdaca8984
2 changed files with 24 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ class SimpleSystemManagerBackend(BaseBackend):
|
|||
# difference here.
|
||||
path = path.rstrip('/') + '/'
|
||||
for param in self._parameters:
|
||||
if not param.startswith(path):
|
||||
if path != '/' and not param.startswith(path):
|
||||
continue
|
||||
if '/' in param[len(path) + 1:] and not recursive:
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue