cvs: pear-core /PEAR/Command Remote.php

From: Date: Mon, 23 Jan 2006 18:18:04 +0000
Subject: cvs: pear-core /PEAR/Command Remote.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-37728@lists.php.net to get a copy of this message
cellog Mon Jan 23 18:18:04 2006 UTC Modified files: /pear-core/PEAR/Command Remote.php Log: output errors one by one (fix weirdness in CLI output) http://cvs.php.net/viewcvs.cgi/pear-core/PEAR/Command/Remote.php?r1=1.87&r2=1.88&diff_format=u Index: pear-core/PEAR/Command/Remote.php diff -u pear-core/PEAR/Command/Remote.php:1.87 pear-core/PEAR/Command/Remote.php:1.88 --- pear-core/PEAR/Command/Remote.php:1.87 Fri Jan 6 04:47:36 2006 +++ pear-core/PEAR/Command/Remote.php Mon Jan 23 18:18:04 2006 @@ -17,7 +17,7 @@ * @author Greg Beaver <cellog@php.net> * @copyright 1997-2006 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License 3.0 - * @version CVS: $Id: Remote.php,v 1.87 2006/01/06 04:47:36 cellog Exp $ + * @version CVS: $Id: Remote.php,v 1.88 2006/01/23 18:18:04 cellog Exp $ * @link http://pear.php.net/package/PEAR * @since File available since Release 0.1 */ @@ -490,10 +490,9 @@ } $errors = $downloader->getErrorMsgs(); if (count($errors)) { - $errinfo = array(); - $errinfo['data'] = array($errors); - $errinfo['headline'] = 'Download Errors'; - $this->ui->outputData($errinfo); + foreach ($errors as $error) { + $this->ui->outputData($error); + } return $this->raiseError("$command failed"); } $downloaded = $downloader->getDownloadedPackages();

« previous php.pear.cvs (#37728) next »