diff --git a/bugwarrior/services/gitlab.py b/bugwarrior/services/gitlab.py index a2ee3d7e0..c986bc928 100644 --- a/bugwarrior/services/gitlab.py +++ b/bugwarrior/services/gitlab.py @@ -336,7 +336,7 @@ def get_repo_issues(self, rid): repo_issues = self._fetch_paged(tmpl) except: # Projects may have issues disabled. - return [] + return {} for issue in repo_issues: if issue['state'] not in ('opened', 'reopened'): continue @@ -350,7 +350,7 @@ def get_repo_merge_requests(self, rid): repo_merge_requests = self._fetch_paged(tmpl) except: # Projects may have merge requests disabled. - return [] + return {} for issue in repo_merge_requests: if issue['state'] not in ('opened', 'reopened'): continue