Check for removal not allowed errors (#19251)

This commit is contained in:
Patrick Ogenstad 2017-01-25 14:05:44 +01:00 committed by John R Barker
parent b44505e281
commit ac527ef86f
2 changed files with 47 additions and 0 deletions

View file

@ -47,6 +47,7 @@ class Cli(CliBase):
CLI_ERRORS_RE = [
re.compile(r"error:", re.I),
re.compile(r"^Removing.* not allowed")
]
NET_PASSWD_RE = re.compile(r"[\r\n]?password: $", re.I)