[entropy.client.loaders] Security: pass args and kwargs down to the object constructor

This commit is contained in:
Fabio Erculiani
2013-12-10 16:42:34 +01:00
parent 498674828d
commit 401b9cbeb3

View File

@@ -50,14 +50,14 @@ class LoadersMixin:
"""
return self.__sets_loader(self)
def Security(self):
def Security(self, *args, **kwargs):
"""
Load Entropy Security Advisories interface object
@return: Repository Security instance object
@rtype: entropy.security.System
"""
return System(self)
return System(self, *args, **kwargs)
def RepositorySecurity(self, keystore_dir = None):
"""