1
0
Fork 0

Merge pull request #3484 from stof/fix_rule

Fix the display of rules
pull/3486/head
Jordi Boggiano 2014-12-02 10:28:03 +00:00
commit 947c1fbabb
1 changed files with 2 additions and 2 deletions

View File

@ -576,11 +576,11 @@ class Installer
if ($reason instanceof Rule) {
switch ($reason->getReason()) {
case Rule::RULE_JOB_INSTALL:
$this->io->write(' REASON: Required by root: '.$reason->getPrettyString());
$this->io->write(' REASON: Required by root: '.$reason->getPrettyString($pool));
$this->io->write('');
break;
case Rule::RULE_PACKAGE_REQUIRES:
$this->io->write(' REASON: '.$reason->getPrettyString());
$this->io->write(' REASON: '.$reason->getPrettyString($pool));
$this->io->write('');
break;
}