Fix python version check issue (#24063)

Fix python version check issue
pull/4420/head
Ganesh Nalawade 2017-04-27 20:10:58 +05:30 committed by GitHub
parent 2716fad38f
commit 1f7c2c63c2
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ from ansible.module_utils.junos import check_args as junos_check_args
from ansible.module_utils.netconf import send_request from ansible.module_utils.netconf import send_request
from ansible.module_utils.six import string_types from ansible.module_utils.six import string_types
if sys.version < (2, 7): if sys.version_info < (2, 7):
from xml.parsers.expat import ExpatError from xml.parsers.expat import ExpatError
ParseError = ExpatError ParseError = ExpatError
else: else: