##// END OF EJS Templates
minirst: allow multiple container types for prune...
Matt Mackall -
r22584:19bd8bda default
parent child Browse files
Show More
@@ -261,7 +261,10 b' def prunecontainers(blocks, keep):'
261 261 indent = blocks[i]['indent']
262 262 adjustment = blocks[i + 1]['indent'] - indent
263 263 containertype = blocks[i]['lines'][0][15:]
264 prune = containertype not in keep
264 prune = True
265 for c in keep:
266 if c in containertype.split('.'):
267 prune = False
265 268 if prune:
266 269 pruned.append(containertype)
267 270
General Comments 0
You need to be logged in to leave comments. Login now