25773242 packaging operations display wrong error if be management operations fail s12b121
authorMingrui Lyu <mingrui.lyu@oracle.com>
Wed, 29 Mar 2017 11:36:29 -0700
changeset 3535 15b3e75209f3
parent 3534 aebe38a666ff
child 3536 dc2dc8d8eacc
25773242 packaging operations display wrong error if be management operations fail
src/modules/client/bootenv.py
--- a/src/modules/client/bootenv.py	Wed Mar 22 18:59:47 2017 -0600
+++ b/src/modules/client/bootenv.py	Wed Mar 29 11:36:29 2017 -0700
@@ -46,7 +46,7 @@
         # First, try importing the pybemgmt module.
         import bemgmt
         from bemgmt.be_errors import BeFmriError, BeNameError, \
-            BeNotFoundError, BeMgmtError
+            BeNotFoundError, BeMgmtError, BeMgmtOpError
 except ImportError:
         # Try importing older libbe
         try: