Projet

Général

Profil

0001-substitution-limit-depth-for-real-40429.patch

Frédéric Péters, 04 mars 2020 17:01

Télécharger (785 octets)

Voir les différences:

Subject: [PATCH] substitution: limit depth for real (#40429)

 wcs/qommon/substitution.py | 2 ++
 1 file changed, 2 insertions(+)
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
-