summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-07-23 13:11:38 +0000
committerThierry Vignaud <tv@mandriva.org>2009-07-23 13:11:38 +0000
commit439306bc46ba4cafb34e33c580525e60454b7e44 (patch)
tree0945ec072da33a482b68caf83ba5fdfe8051496b
parent9bb81cb084c65493090eb7ec4a6d1675d60c3ff3 (diff)
downloadmgaonline-439306bc46ba4cafb34e33c580525e60454b7e44.tar
mgaonline-439306bc46ba4cafb34e33c580525e60454b7e44.tar.gz
mgaonline-439306bc46ba4cafb34e33c580525e60454b7e44.tar.bz2
mgaonline-439306bc46ba4cafb34e33c580525e60454b7e44.tar.xz
mgaonline-439306bc46ba4cafb34e33c580525e60454b7e44.zip
(add_restricted_medium) wrap
-rwxr-xr-xmdkapplet-restricted-helper5
1 files changed, 3 insertions, 2 deletions
diff --git a/mdkapplet-restricted-helper b/mdkapplet-restricted-helper
index 181cf492..f2737061 100755
--- a/mdkapplet-restricted-helper
+++ b/mdkapplet-restricted-helper
@@ -116,8 +116,9 @@ my $error;
sub add_restricted_medium {
my ($email, $password) = @_;
- my $res = get_from("https://my.mandriva.com/rest/authenticate", [ 'username', $email, 'password', $password,
- 'return', 'userdata' ]);
+ my $res = get_from("https://my.mandriva.com/rest/authenticate",
+ [ 'username', $email, 'password', $password,
+ 'return', 'userdata' ]);
my $ref = eval { XML::Simple->new->XMLin($res->{_content}) };
if (my $err = $@) {
warn ">> XML error: $err\n";