diff --git a/lib/ansible/modules/source_control/github_key.py b/lib/ansible/modules/source_control/github_key.py index c8b80eceeb..79758fd7db 100644 --- a/lib/ansible/modules/source_control/github_key.py +++ b/lib/ansible/modules/source_control/github_key.py @@ -103,7 +103,7 @@ class GitHubResponse(object): def links(self): links = {} if 'link' in self.info: - link_header = re.info['link'] + link_header = self.info['link'] matches = re.findall('<([^>]+)>; rel="([^"]+)"', link_header) for url, rel in matches: links[rel] = url