Show More
@@ -239,10 +239,10 b' def prunecontainers(blocks, keep):' | |||
|
239 | 239 | # Always delete "..container:: type" block |
|
240 | 240 | del blocks[i] |
|
241 | 241 | j = i |
|
242 | i -= 1 | |
|
242 | 243 | while j < len(blocks) and blocks[j]['indent'] > indent: |
|
243 | 244 | if prune: |
|
244 | 245 | del blocks[j] |
|
245 | i -= 1 # adjust outer index | |
|
246 | 246 | else: |
|
247 | 247 | blocks[j]['indent'] -= adjustment |
|
248 | 248 | j += 1 |
General Comments 0
You need to be logged in to leave comments.
Login now