Revision 956631b6 lib/cli.py
b/lib/cli.py | ||
---|---|---|
552 | 552 |
msg = "Cannot pass options when removing parameter groups: %s" % value |
553 | 553 |
raise errors.ParameterError(msg) |
554 | 554 |
retval = (ident[len(NO_PREFIX):], False) |
555 |
elif ident.startswith(UN_PREFIX): |
|
555 |
elif (ident.startswith(UN_PREFIX) and |
|
556 |
(len(ident) <= len(UN_PREFIX) or |
|
557 |
not ident[len(UN_PREFIX)][0].isdigit())): |
|
556 | 558 |
if rest: |
557 | 559 |
msg = "Cannot pass options when removing parameter groups: %s" % value |
558 | 560 |
raise errors.ParameterError(msg) |
Also available in: Unified diff