Fix minor typos
authorNikos Skalkotos <skalkoto@grnet.gr>
Wed, 29 Feb 2012 12:27:04 +0000 (14:27 +0200)
committerNikos Skalkotos <skalkoto@grnet.gr>
Wed, 29 Feb 2012 12:27:04 +0000 (14:27 +0200)
image_creator/disk.py
image_creator/os_type/__init__.py

index 7913799..dd0127b 100644 (file)
@@ -181,7 +181,7 @@ class DiskDevice(object):
         part_dev = "%s%d" % (dev, last_partition['part_num'])
         fs_type = self.g.vfs_type(part_dev)
         if not re.match("ext[234]", fs_type):
-            print "Warning, don't know how to resize %s partitions" % vfs_type
+            print "Warning: Don't know how to resize %s partitions." % vfs_type
             return
 
         self.g.e2fsck_f(part_dev)
index 260cb08..f1f74ff 100644 (file)
@@ -69,7 +69,7 @@ class OSBase(object):
                 action(full_path)
 
     def get_metadata(self):
-        """Returnes some descriptive metadata of the OS."""
+        """Returns some descriptive metadata about the OS."""
         meta = {}
         meta["OSFAMILY"] = self.g.inspect_get_type(self.root)
         meta["OS"] = self.g.inspect_get_distro(self.root)
@@ -78,7 +78,7 @@ class OSBase(object):
         return meta
 
     def data_cleanup(self):
-        """Cleanup sesitive data out of the OS image."""
+        """Cleanup sensitive data out of the OS image."""
         raise NotImplementedError
 
 # vim: set sta sts=4 shiftwidth=4 sw=4 et ai :