From 6d07d317e06095bbb0a18171568b59b8fd556e03 Mon Sep 17 00:00:00 2001 From: Lubomír Sedlář Date: Nov 24 2016 09:09:59 +0000 Subject: Accept the realms argument in Commands class Fixes: #14 Signed-off-by: Lubomír Sedlář --- diff --git a/fedpkg/__init__.py b/fedpkg/__init__.py index 93c3bc1..4768805 100644 --- a/fedpkg/__init__.py +++ b/fedpkg/__init__.py @@ -26,8 +26,7 @@ class Commands(pyrpkg.Commands): def __init__(self, path, lookaside, lookasidehash, lookaside_cgi, gitbaseurl, anongiturl, branchre, kojiconfig, - build_client, user=None, dist=None, target=None, - quiet=False, distgit_namespaced=False): + build_client, **kwargs): """Init the object and some configuration details.""" # We are subclassing to set kojiconfig to none, so that we can @@ -35,9 +34,7 @@ class Commands(pyrpkg.Commands): super(Commands, self).__init__(path, lookaside, lookasidehash, lookaside_cgi, gitbaseurl, anongiturl, branchre, kojiconfig, build_client, - user=user, dist=dist, target=target, - quiet=quiet, - distgit_namespaced=distgit_namespaced) + **kwargs) # New data self.secondary_arch = {