Repository :
http://git.fedorahosted.org/cgit/copr.git
On branch : master
---------------------------------------------------------------
commit 185c05bf9dd2e4859c0911920324db79f0ef293e
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Thu Apr 10 11:52:38 2014 +0200
be less strict in parsing fas/copr-name
and allow dash and other characters which are not part of \w
---------------------------------------------------------------
cli/copr_cli/subcommands.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cli/copr_cli/subcommands.py b/cli/copr_cli/subcommands.py
index 09e34e4..a204000 100644
--- a/cli/copr_cli/subcommands.py
+++ b/cli/copr_cli/subcommands.py
@@ -210,7 +210,7 @@ def build(copr, pkgs, memory, timeout, wait=True, result=None,
chroots=None):
username = user["username"]
# if you specify copr as username/foo, retrieve and cut username
- m = re.match(r"(\w+)/(\w+)", copr)
+ m = re.match(r"(.+)/(.+)", copr)
if m:
username = m.group(1)
copr = m.group(2)