[autotest] Remove site_rpc_interface
BUG=chromium:672727
TEST=Run unittests
Change-Id: I8535b121ba7f2317cccec981bf2a8a36ca2639cf
Reviewed-on: https://chromium-review.googlesource.com/435850
Commit-Ready: Allen Li <ayatane@chromium.org>
Tested-by: Allen Li <ayatane@chromium.org>
Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org>
Reviewed-by: Allen Li <ayatane@chromium.org>
diff --git a/frontend/afe/views.py b/frontend/afe/views.py
index 5c59aad..b2acfeb 100644
--- a/frontend/afe/views.py
+++ b/frontend/afe/views.py
@@ -8,17 +8,13 @@
from autotest_lib.frontend.afe import models, rpc_handler, rpc_interface
from autotest_lib.frontend.afe import rpc_utils
-site_rpc_interface = utils.import_site_module(
- __file__, 'autotest_lib.frontend.afe.site_rpc_interface',
- dummy=object())
-
moblab_rpc_interface = utils.import_site_module(
__file__, 'autotest_lib.frontend.afe.moblab_rpc_interface',
dummy=object())
-# since site_rpc_interface is later in the list, its methods will override those
-# of rpc_interface
-rpc_handler_obj = rpc_handler.RpcHandler((rpc_interface, site_rpc_interface,
+# since moblab_rpc_interface is later in the list, its methods will
+# override those of rpc_interface
+rpc_handler_obj = rpc_handler.RpcHandler((rpc_interface,
moblab_rpc_interface),
document_module=rpc_interface)