Simplify koji pkgset

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
Lubomír Sedlář 2016-03-10 19:13:51 +01:00
parent 07f5da5d4f
commit 2fd117367e

View File

@ -202,7 +202,7 @@ class KojiPackageSet(PackageSetBase):
def __getstate__(self): def __getstate__(self):
result = self.__dict__.copy() result = self.__dict__.copy()
result["koji_profile"] = self.koji_wrapper.koji_module.config.profile result["koji_profile"] = self.koji_wrapper.profile
del result["koji_wrapper"] del result["koji_wrapper"]
del result["_logger"] del result["_logger"]
return result return result