summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Sprygada <privateip@users.noreply.github.com>2016-09-19 23:18:26 -0400
committerGitHub <noreply@github.com>2016-09-19 23:18:26 -0400
commitdf4a9dabd53eff5b2ad8d0bfa408b426730397be (patch)
tree40553b3527bd2ae5f356e654d5f1358022a1de8b
parenta3807eee1029bdcf68cb898fa3c80741137d2fe6 (diff)
downloadansible-modules-core-df4a9dabd53eff5b2ad8d0bfa408b426730397be.tar.gz
fix up junos_facts import statements (#4928)
This fixes the junos_facts import statements and removes importing NetworkModule from the junos shared module.
-rw-r--r--network/junos/junos_facts.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/network/junos/junos_facts.py b/network/junos/junos_facts.py
index 8ff5eb45..f22b3bb0 100644
--- a/network/junos/junos_facts.py
+++ b/network/junos/junos_facts.py
@@ -85,7 +85,9 @@ ansible_facts:
returned: always
type: dict
"""
-from ansible.module_utils.junos import NetworkModule
+import ansible.module_utils.junos
+
+from ansible.module_utils.network import NetworkModule
from ansible.module_utils.junos import xml_to_string, xml_to_json
def main():