From cdb2c50266941f444fc7d431d4bb852d71197f53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Kadl=C4=8D=C3=ADk?= Date: Thu, 1 Jun 2017 20:48:21 +0200 Subject: [PATCH] foo --- module_build_service/builder/utils.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/module_build_service/builder/utils.py b/module_build_service/builder/utils.py index 57eddcde..f4ab6bc2 100644 --- a/module_build_service/builder/utils.py +++ b/module_build_service/builder/utils.py @@ -50,13 +50,6 @@ def execute_cmd(args, stdout=None, stderr=None, cwd=None): return out, err -def get_distgit_commands(source, conf): - for host, cmds in conf.distgits.items(): - if source.startswith(host): - return cmds - raise KeyError("No defined commands for {}".format(source)) - - def fake_repo_done_message(tag_name): msg = module_build_service.messaging.KojiRepoChange( msg_id='a faked internal message',