[137850] trunk/base/src/port/port.tcl

jmr at macports.org jmr at macports.org
Sun Jun 21 14:10:45 PDT 2015


Revision: 137850
          https://trac.macports.org/changeset/137850
Author:   jmr at macports.org
Date:     2015-06-21 14:10:45 -0700 (Sun, 21 Jun 2015)
Log Message:
-----------
fix incorrect use of 'array get' to 'array names' in action_search

Modified Paths:
--------------
    trunk/base/src/port/port.tcl

Modified: trunk/base/src/port/port.tcl
===================================================================
--- trunk/base/src/port/port.tcl	2015-06-21 20:31:55 UTC (rev 137849)
+++ trunk/base/src/port/port.tcl	2015-06-21 21:10:45 UTC (rev 137850)
@@ -3713,7 +3713,7 @@
 
         set res {}
         set portfound 0
-        foreach { opt } [array get filters] {
+        foreach { opt } [array names filters] {
             # Map from friendly name
             set opt [map_friendly_field_names $opt]
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150621/4080b144/attachment.html>


More information about the macports-changes mailing list