From 7643d3aecf200d93a03234bde92eaf4f6129ee37 Mon Sep 17 00:00:00 2001 From: Abhijit Menon-Sen Date: Thu, 30 Jul 2015 09:02:18 +0530 Subject: [PATCH] Fix call to _expand_ppa --- lib/ansible/modules/packaging/os/apt_repository.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/packaging/os/apt_repository.py b/lib/ansible/modules/packaging/os/apt_repository.py index 8f6d18d09d5..a72c0505717 100644 --- a/lib/ansible/modules/packaging/os/apt_repository.py +++ b/lib/ansible/modules/packaging/os/apt_repository.py @@ -390,7 +390,7 @@ class UbuntuSourcesList(SourcesList): continue if source_line.startswith('ppa:'): - source, ppa_owner, ppa_name = self._expand_ppa(i[3]) + source, ppa_owner, ppa_name = self._expand_ppa(source_line) _repositories.append(source) else: _repositories.append(source_line)