rootfs.py: Typofixes in comments and prints.
[matrix.git] / matrix / rootfs.py
index f37d2f0748f68221d337ef27a7cb3da4483c59dc..f18ae9d576695d342a35bc520a6bf20fd3ba7886 100644 (file)
@@ -131,19 +131,19 @@ class Builder(object):
                os.chdir(old_dir)
 
        def filter_paths(self, paths):
-               # Filter out files in exluded paths
+               # Filter out files in excluded paths
                for f in self.file_list:
                        for d in paths:
                                if f == self.target + d or f.startswith(self.target + d + '/'):
                                        self.remove_list.append(f)
 
        def filter_files(self, files):
-               # Filter out exluded files
+               # Filter out excluded files
                for f in files:
                        self.remove_list.append(self.target + f)
 
        def filter_expressions(self, expressions):
-               # Filter out files matching exluded patterns
+               # Filter out files matching excluded patterns
                compiled_patterns = []
                for pattern_str in expressions:
                        compiled_patterns.append(re.compile(pattern_str))
@@ -268,7 +268,7 @@ class Builder(object):
                os.system("%s a+rw /%s/%s/dev/null" % (self.chmod, self.builddir, self.target))
 
                # Set non-root owners
-               print "Setting non-root owner ships..."
+               print "Setting non-root ownerships..."
                for d in self.change_owner.keys():
                        dir = d
                        if dir[0] == '/':