Pull the server-side errors.py into the common error library.
Signed-off-by: John Admanski <jadmanski@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@1007 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/server/utils.py b/server/utils.py
index 033db5d..0e007da 100644
--- a/server/utils.py
+++ b/server/utils.py
@@ -14,7 +14,7 @@
import atexit, os, select, shutil, signal, StringIO, subprocess, tempfile
import time, types, urllib, re, sys, textwrap
-import hosts, errors
+import hosts
from common.error import *
# A dictionary of pid and a list of tmpdirs for that pid
@@ -245,7 +245,7 @@
result.stderr = stderr_file.getvalue()
if not ignore_status and result.exit_status > 0:
- raise errors.AutoservRunError("command execution error", result)
+ raise AutoservRunError("command execution error", result)
return result