[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/direct_afe.py b/frontend/afe/direct_afe.py
index 568e7f3..aecae61 100644
--- a/frontend/afe/direct_afe.py
+++ b/frontend/afe/direct_afe.py
@@ -5,14 +5,13 @@
 
 import common
 import autotest_lib.server.frontend as frontend
-from autotest_lib.frontend.afe import site_rpc_interface
 from autotest_lib.frontend.afe import rpc_interface
 
 class directAFE(frontend.AFE):
     """
     A wrapper for frontend.AFE which exposes all of the AFE
-    functionality, but makes direct calls to site_rpc_interface and
-    rpc_interface rather than making RPC calls to an RPC server.
+    functionality, but makes direct calls to rpc_interface rather than
+    making RPC calls to an RPC server.
     """
     def run(self, call, **dargs):
         func = None
@@ -22,13 +21,7 @@
         except AttributeError:
             pass
 
-        try:
-            func = site_rpc_interface.__getattribute__(call)
-        except AttributeError:
-            pass
-
         if not func:
-            raise AttributeError('No function named %s in either '
-                                 'rpc_interface or site_rpc_interface' % call)
+            raise AttributeError('No function %s in rpc_interface' % call)
 
-        return func(**dargs)
\ No newline at end of file
+        return func(**dargs)