Skip to content

Commit

Permalink
logic simplified
Browse files Browse the repository at this point in the history
  • Loading branch information
barbie committed Sep 20, 2014
1 parent 0e36a0f commit e4e4e32
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/CPAN/Testers/WWW/Reports/Query/AJAX.pm
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ sub new {
# ajax request
my $url = $URL;
$url .= join( '&', map { "$_=$self->{options}{$_}" } @valid );
#print "URL: $url\n";
#print STDERR "# URL: $url\n";
eval { $mech->get( $url ); };
if($@ || !$mech->success()) {
$self->{error} = $@;
Expand Down Expand Up @@ -202,7 +202,8 @@ sub _parse {
$self->{result}{$version}{all} = $all;
}

} elsif($self->{options}{format} eq 'html') {
#} elsif($self->{options}{format} eq 'html') {
} else {
# TODO: need to pull out OT response
}

Expand Down

0 comments on commit e4e4e32

Please sign in to comment.