diff options
author | Yongqin Liu <yongqin.liu@linaro.org> | 2020-02-25 15:05:02 +0800 |
---|---|---|
committer | Yongqin Liu <yongqin.liu@linaro.org> | 2020-02-25 15:05:02 +0800 |
commit | afe26966877718c0e796d0e03f1032c7238b4e2d (patch) | |
tree | 2159a5a1b6dc591cbff16164f22d68fe906e285c | |
parent | 75c6d82a9446c506be5e6d4ab996c0c05c7ced21 (diff) |
lkft: drop the use of xmlrpclib for lava server
no lava server calls now.
In the future, need to use the lava restfull apis
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
-rw-r--r-- | lkft/views.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lkft/views.py b/lkft/views.py index aee294d..47da053 100644 --- a/lkft/views.py +++ b/lkft/views.py @@ -16,7 +16,6 @@ import requests import sys import tarfile import tempfile -import xmlrpclib import xml.etree.ElementTree as ET import zipfile @@ -44,14 +43,6 @@ logger = logging.getLogger(__name__) TEST_RESULT_XML_NAME = 'test_result.xml' -for nick, config in LAVA_SERVERS.items(): - server_url = "https://%s:%s@%s/RPC2/" % ( config.get('username'), - config.get('token'), - config.get('hostname')) - server = xmlrpclib.ServerProxy(server_url) - config.update({'server': server}) - - class LinaroAndroidLKFTBug(bugzilla.Bugzilla): def __init__(self, host_name, api_key): |