From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Qo25x-0007kj-9F for garchives@archives.gentoo.org; Mon, 01 Aug 2011 23:40:25 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EC55021C12B; Mon, 1 Aug 2011 23:40:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id B781D21C12B for ; Mon, 1 Aug 2011 23:40:16 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E08501B4029 for ; Mon, 1 Aug 2011 23:40:15 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 2B8343C004 for ; Mon, 1 Aug 2011 23:40:15 +0000 (UTC) From: "Vikraman Choudhury" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Vikraman Choudhury" Message-ID: <6c76e75fd3b23be336bdf21c0f071d6574132a4c.vikraman@gentoo> Subject: [gentoo-commits] proj/gentoostats:master commit in: server/ X-VCS-Repository: proj/gentoostats X-VCS-Files: server/profile.py X-VCS-Directories: server/ X-VCS-Committer: vikraman X-VCS-Committer-Name: Vikraman Choudhury X-VCS-Revision: 6c76e75fd3b23be336bdf21c0f071d6574132a4c Date: Mon, 1 Aug 2011 23:40:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: e55cdffce4ccf22599461f5193b74fb5 commit: 6c76e75fd3b23be336bdf21c0f071d6574132a4c Author: Vikraman Choudhury gmail com> AuthorDate: Mon Aug 1 23:40:00 2011 +0000 Commit: Vikraman Choudhury gmail com> CommitDate: Mon Aug 1 23:40:00 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/gentoostats.g= it;a=3Dcommit;h=3D6c76e75f fix profile json export --- server/profile.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/server/profile.py b/server/profile.py index 798c90d..4e4f65f 100644 --- a/server/profile.py +++ b/server/profile.py @@ -9,6 +9,6 @@ class Profile(object): for t in profile_count: profile_data[t['PROFILE']] =3D {'HOSTS':t['HOSTS']} if helpers.is_json_request(): - helpers.serialize(profile_data) + return helpers.serialize(profile_data) else: return render.profile(profile_data)