Repository :
http://git.fedorahosted.org/cgit/copr.git
On branch : master
---------------------------------------------------------------
commit 65be07334b198d0a5ddbc3e9afdc2ceeddb7fe3b
Author: Bohuslav Kabrda <bkabrda(a)redhat.com>
Date: Mon Jan 28 09:44:17 2013 +0100
Unify the json serialization method for backend
---------------------------------------------------------------
.../coprs/views/backend_ns/backend_general.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/coprs_frontend/coprs/views/backend_ns/backend_general.py
b/coprs_frontend/coprs/views/backend_ns/backend_general.py
index c315cde..c51fcb6 100644
--- a/coprs_frontend/coprs/views/backend_ns/backend_general.py
+++ b/coprs_frontend/coprs/views/backend_ns/backend_general.py
@@ -39,4 +39,4 @@ def update_builds():
db.session.commit()
- return flask.json.dumps({'updated_builds_ids': list(existing.keys()),
'non_existing_builds_ids': non_existing_ids})
+ return flask.jsonify({'updated_builds_ids': list(existing.keys()),
'non_existing_builds_ids': non_existing_ids})