Pass the launchpadlib person object to copyPackages

This commit is contained in:
Stefano Rivera 2011-12-07 15:46:09 +02:00
parent 8178324266
commit a55229619e

View File

@ -392,6 +392,9 @@ class Archive(BaseWrapper):
will happen sometime later with full checking.
'''
if isinstance(sponsored, PersonTeam):
sponsored = sponsored._lpobject
self._lpobject.copyPackage(
source_name=source_name,
version=version,