correct KickstartError to KsError
authorGui Chen <gui.chen@intel.com>
Wed, 29 Feb 2012 09:18:16 +0000 (17:18 +0800)
committerGui Chen <gui.chen@intel.com>
Wed, 29 Feb 2012 09:18:16 +0000 (17:18 +0800)
Signed-off-by: Gui Chen <gui.chen@intel.com>
mic/kickstart/__init__.py

index d3c5c63..baa6143 100644 (file)
@@ -184,7 +184,7 @@ class TimezoneConfig(KickstartConfig):
         try:
             shutil.copyfile(tz_source, tz_dest)
         except (IOError, OSError), (errno, msg):
-            raise errors.KickstartError("Error copying timezone info from "
+            raise errors.KsError("Error copying timezone info from "
                                         "'%s' to '%s': %s" \
                                         % (tz_source, tz_dest, msg))