Now fixing the places where we're raising string exceptions on the
client code. The patch also fixes identation errors in the iostat
profiler and error.py'>error.py.

Signed-off-by: Lucas Meneghel Rodrigues <lucasmr@br.ibm.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1158 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/client/bin/xen.py b/client/bin/xen.py
index 899e2b3..3aec943 100644
--- a/client/bin/xen.py
+++ b/client/bin/xen.py
@@ -22,7 +22,7 @@
 
 
 	def config(self, config_file, config_list = None):
-		raise 'config() not implemented for xen'
+		raise NotImplementedError('config() not implemented for xen')
 
 
 	def build(self, make_opts = '', logfile = '', extraversion='autotest'):
@@ -94,7 +94,7 @@
 
 
 	def build_timed(self, *args, **kwds):
-		raise('build_timed() not implemented')
+		raise NotImplementedError('build_timed() not implemented')
 
 
 	def install(self, tag='', prefix = '/', extraversion='autotest'):