0001-substitution-limit-depth-for-real-40429.patch
wcs/qommon/substitution.py | ||
---|---|---|
158 | 158 |
flat_keys = {} |
159 | 159 | |
160 | 160 |
def flatten(base, depth=10): |
161 |
if not depth: |
|
162 |
return |
|
161 | 163 |
item = self[base] |
162 | 164 |
flat_keys[base] = item |
163 | 165 |
if hasattr(item, 'inspect_keys'): |
164 |
- |