Don't accept undocumented "p1;p2" patterns; note in changelog

The correct (and now only) way to say p1 OR p2 is "p1:p2".
pull/11958/head
Abhijit Menon-Sen 9 years ago committed by James Cammarata
parent 1437b8e120
commit d41db8edd6

@ -533,12 +533,16 @@ class Inventory(object):
if subset_pattern is None:
self._subset = None
else:
<<<<<<< HEAD
<<<<<<< HEAD
subset_patterns = self._split_pattern(subset_pattern)
=======
subset_pattern = subset_pattern.replace(',',':')
subset_patterns = self._split_pattern(subset_pattern.replace(";",":"))
>>>>>>> Introduce _split_pattern to parse an "x:y:z" pattern
=======
subset_patterns = self._split_pattern(subset_pattern)
>>>>>>> Don't accept undocumented "p1;p2" patterns; note in changelog
results = []
# allow Unix style @filename data
for x in subset_patterns:

Loading…
Cancel
Save