diff --git a/installsystems/database.py b/installsystems/database.py index ec5c158746c9810e2fcd826b5b052925553a04e4..fd62e276de64cf529a10750b43917843c3be8591 100644 --- a/installsystems/database.py +++ b/installsystems/database.py @@ -96,7 +96,7 @@ class Database(object): raise Exception("Adding metadata fail: %s" % e) def delete(self, name, version): - '''Deltete a packaged image''' + '''Delete a packaged image''' arrow("Removing metadata from db", 1, self.verbose) # check locality if istools.pathtype(self.path) != "file": diff --git a/installsystems/image.py b/installsystems/image.py index 23063875f996a06da959e889662771ecca5da26d..1118f219585811d149cff1891efd2c7ace6f7f4f 100644 --- a/installsystems/image.py +++ b/installsystems/image.py @@ -162,7 +162,7 @@ class SourceImage(Image): def create_data_tarballs(self): ''' Create all data tarballs in data directory - Doen't compute md5 during creation because tarball can + Doesn't compute md5 during creation because tarball can be created manually ''' arrow("Creating data tarballs", 1, self.verbose) diff --git a/installsystems/repository.py b/installsystems/repository.py index 95f1940f1342fcab7158523ece16d919663aa02c..37a5b5053b5ea311527c2979a89a01ab6504c972 100644 --- a/installsystems/repository.py +++ b/installsystems/repository.py @@ -227,9 +227,9 @@ class RepositoryManager(object): def find_image(self, name, version): '''Find a repository containing image''' if version is None: - arrow("Serching last version of %s" % name, 1, self.verbose) + arrow("Searching last version of %s" % name, 1, self.verbose) else: - arrow("Serching %s version %s " % (name, version), 1, self.verbose) + arrow("Searching %s version %s " % (name, version), 1, self.verbose) img = None # search in all repositories desc = None @@ -331,9 +331,9 @@ class RepositoryCache(object): def find_image(self, name, version): '''Find an image in repositories''' if version is None: - arrow("Serching last version of %s" % name, 1, self.verbose) + arrow("Searching last version of %s" % name, 1, self.verbose) else: - arrow("Serching %s version %s " % (name, version), 1, self.verbose) + arrow("Searching %s version %s " % (name, version), 1, self.verbose) img = None # search in all repositories for repo in self.repos: diff --git a/installsystems/tools.py b/installsystems/tools.py index efe4b45743b8b1b022619d54c971058c95734e28..7a3fb8258d4e0d6d016417cfb3acfc1cb7ab74b0 100644 --- a/installsystems/tools.py +++ b/installsystems/tools.py @@ -63,7 +63,7 @@ def chrights(path, uid=None, gid=None, mode=None): os.chmod(path, mode) def pathtype(path): - '''Return path type. This is usefull to know what king of path is given''' + '''Return path type. This is usefull to know what kind of path is given''' from installsystems.image import Image if path.startswith("http://") or path.startswith("https://"): return "http"