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 import base64
from future import standard_library try:
standard_library.install_aliases() from subprocess import getoutput
from subprocess import getoutput except ImportError:
from commands import getoutput # noqa
try: try:
import json import json
except ImportError: except ImportError: