diff --git a/pagure/lib/tasks.py b/pagure/lib/tasks.py index 00f6822..27837f7 100644 --- a/pagure/lib/tasks.py +++ b/pagure/lib/tasks.py @@ -703,6 +703,8 @@ def move_to_repospanner(self, session, name, namespace, user, region): for repotype in pagure.lib.REPOTYPES: repopath = project.repopath(repotype) + if repopath is None: + continue repo_obj = pagure.lib.repo.PagureRepo(repopath) # At this moment, this subrepo has been migrated