Fixed TypeError instancemethod expecting at least 2 arguments (#69463)
* Fixed TypeError instancemethod expecting at least 2 arguments * added changlelog for 69463
This commit is contained in:
parent
7a15a3a109
commit
36d7ba1408
2 changed files with 8 additions and 0 deletions
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- Fixed TypeError instancemethod expecting at least 2 arguments for apt_repository(issue https://github.com/ansible/ansible/issues/69308, PR https://github.com/ansible/ansible/pull/69463)
|
|
@ -406,6 +406,12 @@ class UbuntuSourcesList(SourcesList):
|
|||
self.codename = module.params['codename'] or distro.codename
|
||||
super(UbuntuSourcesList, self).__init__(module)
|
||||
|
||||
def __deepcopy__(self, memo=None):
|
||||
return UbuntuSourcesList(
|
||||
self.module,
|
||||
add_ppa_signing_keys_callback=self.add_ppa_signing_keys_callback
|
||||
)
|
||||
|
||||
def _get_ppa_info(self, owner_name, ppa_name):
|
||||
lp_api = self.LP_API % (owner_name, ppa_name)
|
||||
|
||||
|
|
Loading…
Reference in a new issue