From 6357afd43faffb0bf32c6d62a0acbc86470cb54d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Kadl=C4=8D=C3=ADk?= Date: Sat, 5 Nov 2016 11:00:15 +0100 Subject: [PATCH] Add missing docstring --- module_build_service/builder.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/module_build_service/builder.py b/module_build_service/builder.py index 1f894850..b1b1900f 100644 --- a/module_build_service/builder.py +++ b/module_build_service/builder.py @@ -1031,6 +1031,15 @@ class MockModuleBuilder(GenericBuilder): @classmethod def repo_from_tag(cls, config, tag_name, arch): + """ + :param backend: a string representing the backend e.g. 'koji'. + :param config: instance of rida.config.Config + :param tag_name: Tag for which the repository is returned + :param arch: Architecture for which the repository is returned + + Returns URL of repository containing the built artifacts for + the tag with particular name and architecture. + """ from copr.client import CoprClient # @TODO get the correct user