Repository :
http://git.fedorahosted.org/cgit/copr.git
On branch : master
---------------------------------------------------------------
commit 98ec2c226ae461630d80421e4ce5141e278cad22
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Fri Nov 13 13:47:59 2015 +0100
W: 7,25: Redefining built-in file (redefined-builtin)
---------------------------------------------------------------
.../coprs/views/tmp_ns/tmp_general.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/frontend/coprs_frontend/coprs/views/tmp_ns/tmp_general.py
b/frontend/coprs_frontend/coprs/views/tmp_ns/tmp_general.py
index 8fa11ee..4571447 100644
--- a/frontend/coprs_frontend/coprs/views/tmp_ns/tmp_general.py
+++ b/frontend/coprs_frontend/coprs/views/tmp_ns/tmp_general.py
@@ -4,6 +4,6 @@ from coprs.views.tmp_ns import tmp_ns
from coprs import app
@tmp_ns.route("/<directory>/<file>")
-def give_srpm(directory, file):
+def give_srpm(directory, file_path):
path = os.path.join(app.config["SRPM_STORAGE_DIR"], directory)
- return flask.send_from_directory(path, file)
+ return flask.send_from_directory(path, file_path)