From 2827abda608ba7aed481d930e87ded7ef15220ec Mon Sep 17 00:00:00 2001 From: Le Philousophe Date: Sun, 31 Jan 2021 16:27:39 +0000 Subject: [PATCH] BUILDBOT: Fix typo --- buildbot-config/scummsteps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildbot-config/scummsteps.py b/buildbot-config/scummsteps.py index 157f8d4..568b5cb 100644 --- a/buildbot-config/scummsteps.py +++ b/buildbot-config/scummsteps.py @@ -338,7 +338,7 @@ class CleanupSnapshots(steps.BuildStep): try: dir_iter = os.scandir(self.dstpath) - except OSerror as e: + except OSError as e: yield log.addStderr("An exception occurred while scanning the directory: {}\n".format(e)) return util.FAILURE