From a1a5ca4b7917201e554337025194099d5f2195fc Mon Sep 17 00:00:00 2001 From: Nikos Skalkotos Date: Wed, 29 Feb 2012 14:27:04 +0200 Subject: [PATCH 1/1] Fix minor typos --- image_creator/disk.py | 2 +- image_creator/os_type/__init__.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/image_creator/disk.py b/image_creator/disk.py index 7913799..dd0127b 100644 --- a/image_creator/disk.py +++ b/image_creator/disk.py @@ -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) diff --git a/image_creator/os_type/__init__.py b/image_creator/os_type/__init__.py index 260cb08..f1f74ff 100644 --- a/image_creator/os_type/__init__.py +++ b/image_creator/os_type/__init__.py @@ -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 : -- 1.7.10.4