<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-base.

</pre>
<p><a href="https://github.com/macports/macports-base/commit/712b7322fbcf575a670641aa070afdb55964b6fe">https://github.com/macports/macports-base/commit/712b7322fbcf575a670641aa070afdb55964b6fe</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 712b7322fbcf575a670641aa070afdb55964b6fe
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Fri Dec 2 19:09:32 2016 +1100

<span style='display:block; white-space:pre;color:#404040;'>    Avoid 2-arg 'array get' with depscache
</span>---
 src/macports1.0/macports.tcl | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/macports1.0/macports.tcl b/src/macports1.0/macports.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 8c9adae..ff4674f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/macports1.0/macports.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/macports1.0/macports.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3987,7 +3987,7 @@ proc macports::_upgrade {portname dspec variationslist optionslist {depscachenam
</span>             if {[llength deplist] > 0} {
                 foreach dep $deplist {
                     set mpname [lindex $dep 2]
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                    if {![llength [array get depscache port:$mpname]]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    if {![info exists depscache(port:$mpname)]} {
</span>                         set status [macports::_upgrade $mpname port:$mpname $variationslist [array get options] depscache]
                         if {$status != 0 && $status != 2 && ![ui_isset ports_processall]} {
                             catch {mportclose $mport}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4130,7 +4130,7 @@ proc macports::_upgrade {portname dspec variationslist optionslist {depscachenam
</span>         if {[llength deplist] > 0} {
             foreach dep $deplist {
                 set mpname [lindex $dep 2]
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                if {![llength [array get depscache port:$mpname]]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                if {![info exists depscache(port:$mpname)]} {
</span>                     set status [macports::_upgrade $mpname port:$mpname $variationslist [array get options] depscache]
                     if {$status != 0 && $status != 2 && ![ui_isset ports_processall]} {
                         catch {mportclose $mport}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4207,7 +4207,7 @@ proc macports::_upgrade_dependencies {portinfoname depscachename variationslistn
</span>         if {[info exists portinfo($dtype)]} {
             foreach i $portinfo($dtype) {
                 set d [$parentworker eval "_get_dep_port $i"]
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                if {![llength [array get depscache port:$d]] && ![llength [array get depscache $i]]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                if {![info exists depscache(port:$d)] && ![info exists depscache($i)]} {
</span>                     if {$d ne ""} {
                         set dspec port:$d
                     } else {
</pre><pre style='margin:0'>

</pre>