From 04c99cc2f4b4f530fe394da0a9319776a96b63e6 Mon Sep 17 00:00:00 2001 From: Mikhail Gordeev Date: Mon, 4 Nov 2019 21:24:55 +0300 Subject: [PATCH] Fix typo --- cloud-build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cloud-build.py b/cloud-build.py index fc48461..b0b388f 100755 --- a/cloud-build.py +++ b/cloud-build.py @@ -439,7 +439,7 @@ Dir::Etc::preferencesparts "/var/empty"; def copy_image(self, src: Path, dst: Path) -> None: os.link(src, dst) - def clear_imager_dir(self): + def clear_images_dir(self): for branch in self.branches: directory = self.images_dir / branch for path in directory.iterdir(): @@ -475,7 +475,7 @@ Dir::Etc::preferencesparts "/var/empty"; os.chmod(script, 0o755) def create_images(self) -> None: - self.clear_imager_dir() + self.clear_images_dir() for branch in self.branches: for image in self.images: self.ensure_scripts(image)