changed deprecation to removal warning

pull/13567/head
Brian Coca 9 years ago
parent dd6e10ce43
commit 45d2f59858

@ -388,7 +388,7 @@ class Inventory(object):
end = -1 end = -1
subscript = (int(start), int(end)) subscript = (int(start), int(end))
if sep == '-': if sep == '-':
display.deprecated("Use [x:y] inclusive subscripts instead of [x-y]", version=2.0, removed=True) display.warning("Use [x:y] inclusive subscripts instead of [x-y] which has been removed")
return (pattern, subscript) return (pattern, subscript)

Loading…
Cancel
Save