Skip to content

Commit 9e6d487

Browse files
Zachthinkl33t
Zach
authored andcommitted
Fixed missing dependency on ansible.module_utils.parsing
1 parent 4e6883e commit 9e6d487

7 files changed

+7
-0
lines changed

library/comware_clean_erase.py

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
from pyhpecw7.comware import HPCOM7
7373
from pyhpecw7.features.errors import *
7474
from pyhpecw7.errors import *
75+
from ansible.module_utils.parsing.convert_bool import BOOLEANS, BOOLEANS_TRUE, BOOLEANS_FALSE
7576
except ImportError as ie:
7677
HAS_PYHP = False
7778

library/comware_install_config.py

+1
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@
9898
from pyhpecw7.comware import HPCOM7
9999
from pyhpecw7.features.errors import *
100100
from pyhpecw7.errors import *
101+
from ansible.module_utils.parsing.convert_bool import BOOLEANS, BOOLEANS_TRUE, BOOLEANS_FALSE
101102
except ImportError as ie:
102103
HAS_PYHP = False
103104

library/comware_install_os.py

+1
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@
123123
from pyhpecw7.features.install_os import InstallOs
124124
from pyhpecw7.features.reboot import Reboot
125125
from pyhpecw7.errors import *
126+
from ansible.module_utils.parsing.convert_bool import BOOLEANS, BOOLEANS_TRUE, BOOLEANS_FALSE
126127
except ImportError as ie:
127128
HAS_PYHP = False
128129

library/comware_irf_members.py

+1
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@
152152
from pyhpecw7.features.reboot import Reboot
153153
from pyhpecw7.features.errors import *
154154
from pyhpecw7.errors import *
155+
from ansible.module_utils.parsing.convert_bool import BOOLEANS, BOOLEANS_TRUE, BOOLEANS_FALSE
155156
except ImportError as ie:
156157
HAS_PYHP = False
157158

library/comware_irf_ports.py

+1
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@
127127
from pyhpecw7.features.irf import *
128128
from pyhpecw7.features.interface import Interface
129129
from pyhpecw7.errors import *
130+
from ansible.module_utils.parsing.convert_bool import BOOLEANS, BOOLEANS_TRUE, BOOLEANS_FALSE
130131
except ImportError as ie:
131132
HAS_PYHP = False
132133

library/comware_ping.py

+1
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
from pyhpecw7.comware import HPCOM7
7070
from pyhpecw7.features.errors import *
7171
from pyhpecw7.errors import *
72+
from ansible.module_utils.parsing.convert_bool import BOOLEANS, BOOLEANS_TRUE, BOOLEANS_FALSE
7273
except ImportError as ie:
7374
HAS_PYHP = False
7475

library/comware_reboot.py

+1
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@
102102
from pyhpecw7.comware import HPCOM7
103103
from pyhpecw7.features.errors import *
104104
from pyhpecw7.errors import *
105+
from ansible.module_utils.parsing.convert_bool import BOOLEANS, BOOLEANS_TRUE, BOOLEANS_FALSE
105106
except ImportError as ie:
106107
HAS_PYHP = False
107108

0 commit comments

Comments
 (0)