From 2cfa04e75d8bf0f8704227207cef2a7d210d7894 Mon Sep 17 00:00:00 2001 From: Pavel Šimerda Date: Nov 28 2016 19:54:59 +0000 Subject: accomodate latest rpkg git master Avoid the following traceback. Could not execute clone: __init__() got an unexpected keyword argument 'distgit_namespaced' Traceback (most recent call last): File "/usr/lib/python-exec/python3.4/centpkg", line 19, in main() File "/home/pavlix/src/centpkg/src/centpkg/__main__.py", line 70, in main sys.exit(client.args.command()) File "/usr/lib64/python3.4/site-packages/pyrpkg/cli.py", line 1029, in clone self.cmd.clone(self.args.module[0], File "/usr/lib64/python3.4/site-packages/pyrpkg/cli.py", line 87, in cmd self.load_cmd() File "/usr/lib64/python3.4/site-packages/pyrpkg/cli.py", line 117, in load_cmd distgit_namespaced=dg_namespaced TypeError: __init__() got an unexpected keyword argument 'distgit_namespaced' Signed-off-by: Pavel Šimerda --- diff --git a/src/centpkg/__init__.py b/src/centpkg/__init__.py index 8332535..bf4e742 100644 --- a/src/centpkg/__init__.py +++ b/src/centpkg/__init__.py @@ -100,7 +100,7 @@ class Commands(Commands): super(Commands, self).__init__(path, lookaside, lookasidehash, lookaside_cgi, gitbaseurl, anongiturl, branchre, kojiconfig, build_client, - user, dist, target, quiet) + user, dist, target, quiet, distgit_namespaced) self.distgitdir = DistGitDirectory(self.branch_merge)