diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-07-28 12:33:41 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-07-28 12:33:41 +0000 |
commit | 910359acc6b1548e2b64b74eed6cc53d53921f47 (patch) | |
tree | c5b367141cb91cbaacc90ddd8da9a0fe1a42b5f3 /mdkapplet-enterprise-update-helper | |
parent | 8585f58cc94e9cd73ef28c9a2bcbb8106353358f (diff) | |
download | mgaonline-910359acc6b1548e2b64b74eed6cc53d53921f47.tar mgaonline-910359acc6b1548e2b64b74eed6cc53d53921f47.tar.gz mgaonline-910359acc6b1548e2b64b74eed6cc53d53921f47.tar.bz2 mgaonline-910359acc6b1548e2b64b74eed6cc53d53921f47.tar.xz mgaonline-910359acc6b1548e2b64b74eed6cc53d53921f47.zip |
(add_enterprise_update_medium) gracefully handle (rare) server issues
(#51299)
Diffstat (limited to 'mdkapplet-enterprise-update-helper')
-rwxr-xr-x | mdkapplet-enterprise-update-helper | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkapplet-enterprise-update-helper b/mdkapplet-enterprise-update-helper index b76cbb4d..639e7a39 100755 --- a/mdkapplet-enterprise-update-helper +++ b/mdkapplet-enterprise-update-helper @@ -118,7 +118,7 @@ sub add_enterprise_update_medium { my $res = get_from("https://my.mandriva.com/rest/authenticate", [ 'username', $email, 'password', $password, 'return', 'userdata' ]); - my $ref = XML::Simple->new->XMLin($res->{_content}); + my $ref = xml2perl($res); if ($ref->{code} != 0) { my $in = interactive->vnew; |