From 4ee1f26962a6ba15e5e46481b679852b835af6ca Mon Sep 17 00:00:00 2001 From: Chenxiong Qi Date: Jun 25 2018 07:07:47 +0000 Subject: Set to repo_name property when --name is specified Signed-off-by: Chenxiong Qi --- diff --git a/pyrpkg/cli.py b/pyrpkg/cli.py index 57a5c2d..35cfba3 100644 --- a/pyrpkg/cli.py +++ b/pyrpkg/cli.py @@ -287,7 +287,7 @@ class cliClient(object): self._cmd.ns, self._cmd.repo_name = self.args.module_name.rsplit('/', 1) if self.args.repo_name: - self._cmd.module_name = self.args.repo_name + self._cmd.repo_name = self.args.repo_name if dg_namespaced and self.args.repo_namespace: self._cmd.ns = self.args.repo_namespace else: