ICU-20593 Data slicing: Fix mixed file and resource filter.

This commit is contained in:
Shane Carr 2019-07-08 16:38:19 -07:00 committed by Shane F. Carr
parent 33080a9072
commit e1b5f85e4a
2 changed files with 18 additions and 2 deletions

View file

@ -6,5 +6,20 @@
"de",
"zh"
]
}
}
},
// Test mixed feature filter and resource filter
"featureFilters": {
"misc": {
"whitelist": ["supplementalData"]
}
},
"resourceFilters": [
{
"categories": ["misc"],
"files": {
"whitelist": ["supplementalData"]
},
"rules": ["+/*"]
}
]
}

View file

@ -175,6 +175,7 @@ class RepeatedExecutionRequest(AbstractExecutionRequest):
def _del_at(self, i):
super(RepeatedExecutionRequest, self)._del_at(i)
del self.output_files[i]
del self.specific_dep_files[i]
for _, v in self.repeat_with.items():
if isinstance(v, list):
del v[i]