summaryrefslogtreecommitdiffstats
path: root/mdkapplet-enterprise-update-helper
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-07-28 12:33:41 +0000
committerThierry Vignaud <tv@mandriva.org>2009-07-28 12:33:41 +0000
commit910359acc6b1548e2b64b74eed6cc53d53921f47 (patch)
treec5b367141cb91cbaacc90ddd8da9a0fe1a42b5f3 /mdkapplet-enterprise-update-helper
parent8585f58cc94e9cd73ef28c9a2bcbb8106353358f (diff)
downloadmgaonline-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-xmdkapplet-enterprise-update-helper2
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;