Fix typos in messages.
authorMarko Saukko <marko.saukko@cybercom.com>
Wed, 14 Dec 2011 11:09:15 +0000 (13:09 +0200)
committerMarko Saukko <marko.saukko@cybercom.com>
Wed, 14 Dec 2011 11:09:15 +0000 (13:09 +0200)
Signed-off-by: Marko Saukko <marko.saukko@cybercom.com>
mic/conf.py

index c7e65e6..d0d82ba 100644 (file)
@@ -115,8 +115,8 @@ class ConfigMgr(object):
                      ]:
             if os.path.exists(path):
                 selinux_status = runner.outs([path])
-                if  arch and arch.startswith("arm") and selinux_status == "Enforcing":
-                    raise errors.ConfigError("Can't create arm image if selinux is enabled, please disbale it and try again")
+                if arch and arch.startswith("arm") and selinux_status == "Enforcing":
+                    raise errors.ConfigError("Can't create arm image if selinux is enabled, please disable it and try again")
 
                 use_btrfs = False
                 parts = ks.handler.partition.partitions
@@ -126,7 +126,7 @@ class ConfigMgr(object):
                         break
 
                 if use_btrfs and selinux_status == "Enforcing":
-                    raise errors.ConfigError("Can't create image useing btrfs filesystem if selinux is enabled, please disbale it and try again")
+                    raise errors.ConfigError("Can't create image useing btrfs filesystem if selinux is enabled, please disable it and try again")
 
                 break