Merge "Avoid using the module of future in xapi plugin"

This commit is contained in:
Zuul 2018-04-18 07:56:12 +00:00 committed by Gerrit Code Review
commit af534d522a
1 changed files with 4 additions and 3 deletions

View File

@ -30,9 +30,10 @@
#
import base64
from future import standard_library
standard_library.install_aliases()
from subprocess import getoutput
try:
from subprocess import getoutput
except ImportError:
from commands import getoutput # noqa
try:
import json
except ImportError: