Fix a few erroneous references to ValidationError found by pylint.

Signed-off-by: Steve Howard <showard@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1707 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/frontend/afe/rpc_utils.py b/frontend/afe/rpc_utils.py
index 12c8619..8cb0047 100644
--- a/frontend/afe/rpc_utils.py
+++ b/frontend/afe/rpc_utils.py
@@ -6,7 +6,7 @@
 __author__ = 'showard@google.com (Steve Howard)'
 
 import datetime, xmlrpclib, threading
-from frontend.afe import models
+from frontend.afe import models, model_logic
 
 def prepare_for_serialization(objects):
     """
@@ -129,7 +129,7 @@
         test_type = get_consistent_value(test_objects, 'test_type')
     except InconsistencyException, exc:
         test1, test2 = exc.args
-        raise models.ValidationError(
+        raise model_logic.ValidationError(
             {'tests' : 'You cannot run both server- and client-side '
              'tests together (tests %s and %s differ' % (
             test1.name, test2.name)})
@@ -138,7 +138,7 @@
         synch_type = get_consistent_value(test_objects, 'synch_type')
     except InconsistencyException, exc:
         test1, test2 = exc.args
-        raise models.ValidationError(
+        raise model_logic.ValidationError(
             {'tests' : 'You cannot run both synchronous and '
              'asynchronous tests together (tests %s and %s differ)' % (
             test1.name, test2.name)})