From ce8e9d4b5d03cd38a1362c04b386a08bc0138095 Mon Sep 17 00:00:00 2001 From: Chenxiong Qi Date: Nov 08 2017 03:17:27 +0000 Subject: Allow any parameters in construct_build_url Signed-off-by: Chenxiong Qi --- diff --git a/fedpkg/__init__.py b/fedpkg/__init__.py index 4acd564..b45645d 100644 --- a/fedpkg/__init__.py +++ b/fedpkg/__init__.py @@ -196,12 +196,12 @@ class Commands(pyrpkg.Commands): in Koji. """ - def construct_build_url(self): + def construct_build_url(self, *args, **kwargs): """Override build URL for Fedora Koji build In Fedora Koji, anonymous URL should have prefix "git+https://" """ - url = super(Commands, self).construct_build_url() + url = super(Commands, self).construct_build_url(*args, **kwargs) return 'git+{0}'.format(url) def retire(self, message):