Show More
@@ -261,7 +261,10 b' def prunecontainers(blocks, keep):' | |||||
261 | indent = blocks[i]['indent'] |
|
261 | indent = blocks[i]['indent'] | |
262 | adjustment = blocks[i + 1]['indent'] - indent |
|
262 | adjustment = blocks[i + 1]['indent'] - indent | |
263 | containertype = blocks[i]['lines'][0][15:] |
|
263 | containertype = blocks[i]['lines'][0][15:] | |
264 |
prune = |
|
264 | prune = True | |
|
265 | for c in keep: | |||
|
266 | if c in containertype.split('.'): | |||
|
267 | prune = False | |||
265 | if prune: |
|
268 | if prune: | |
266 | pruned.append(containertype) |
|
269 | pruned.append(containertype) | |
267 |
|
270 |
General Comments 0
You need to be logged in to leave comments.
Login now