Repository :
http://git.fedorahosted.org/cgit/copr.git
On branch : master
---------------------------------------------------------------
commit 48f3ef93b10b732ef09f3f80859eddbad324f54e
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Tue Feb 25 16:57:49 2014 +0100
[cli] correctly pass username
---------------------------------------------------------------
copr_cli/subcommands.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/copr_cli/subcommands.py b/copr_cli/subcommands.py
index 91fa6ab..7d8d574 100644
--- a/copr_cli/subcommands.py
+++ b/copr_cli/subcommands.py
@@ -201,7 +201,7 @@ def build(copr, pkgs, memory, timeout, wait=True, result=None):
copr_api_url = get_api_url()
URL = "{0}/coprs/{1}/{2}/new_build/".format(
copr_api_url,
- user["username"],
+ username,
copr)
data = {"pkgs": " ".join(pkgs),