From 4cc744c92015ccd2b8ea6ba2ba4695b0e24461ef Mon Sep 17 00:00:00 2001 From: Chris Hennes Date: Tue, 11 Jan 2022 07:38:40 -0600 Subject: [PATCH] AddonManager:Correct funcion name --- src/Mod/AddonManager/addonmanager_workers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/AddonManager/addonmanager_workers.py b/src/Mod/AddonManager/addonmanager_workers.py index b1919a11f9..d768be959c 100644 --- a/src/Mod/AddonManager/addonmanager_workers.py +++ b/src/Mod/AddonManager/addonmanager_workers.py @@ -1219,14 +1219,14 @@ class InstallWorkbenchWorker(QtCore.QThread): # NOTE: There is no way to interrupt this process in GitPython: someday we should # support pygit2/libgit2 so we can actually interrupt this properly. repo = git.Repo.clone_from(self.repo.url, clonedir, progress=self.git_progress) - if current_thread.isInterruptRequested(): + if current_thread.isInterruptionRequested(): return # Make sure to clone all the submodules as well if repo.submodules: repo.submodule_update(recursive=True) - if current_thread.isInterruptRequested(): + if current_thread.isInterruptionRequested(): return if self.repo.branch in repo.heads: