[Fedora-security-commits] fedora-security/tools/lib/Libexig Bodhi.pm, 1.4, 1.5

fedora-security-commits at redhat.com fedora-security-commits at redhat.com
Mon Oct 20 11:39:11 UTC 2008


Author: thoger

Update of /cvs/fedora/fedora-security/tools/lib/Libexig
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7643/tools/lib/Libexig

Modified Files:
	Bodhi.pm 
Log Message:
port to perl-JSON 2.x



Index: Bodhi.pm
===================================================================
RCS file: /cvs/fedora/fedora-security/tools/lib/Libexig/Bodhi.pm,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- Bodhi.pm	26 Aug 2008 06:37:51 -0000	1.4
+++ Bodhi.pm	20 Oct 2008 11:38:41 -0000	1.5
@@ -96,7 +96,7 @@
 	# Get updates
 	$json = `wget --post-data 'package=$pkg&tg_paginate_limit=0' -qO - \\
 			'https://admin.fedoraproject.org/updates/list?tg_format=json'`;
-	$obj = jsonToObj ($json, {unmapping => 1});
+	$obj = from_json ($json);
 
 	return @{$obj->{'updates'}};
 }




More information about the Fedora-security-commits mailing list