[51565] trunk/base/src/port1.0/portutil.tcl
raimue at macports.org
raimue at macports.org
Wed May 27 16:00:54 PDT 2009
Revision: 51565
http://trac.macports.org/changeset/51565
Author: raimue at macports.org
Date: 2009-05-27 16:00:54 -0700 (Wed, 27 May 2009)
Log Message:
-----------
port1.0/portutil.tcl:
Rename warn_deprecated_option to handle_deprecated_option as it matches better
with other similar procs.
Modified Paths:
--------------
trunk/base/src/port1.0/portutil.tcl
Modified: trunk/base/src/port1.0/portutil.tcl
===================================================================
--- trunk/base/src/port1.0/portutil.tcl 2009-05-27 22:54:16 UTC (rev 51564)
+++ trunk/base/src/port1.0/portutil.tcl 2009-05-27 23:00:54 UTC (rev 51565)
@@ -197,7 +197,7 @@
# @param option deprecated option
# @param action read/set
# @param value ignored
-proc warn_deprecated_option {option action {value ""}} {
+proc handle_deprecated_option {option action {value ""}} {
global name $option deprecated_options
set newoption $deprecated_options($option)
global $newoption
@@ -225,7 +225,7 @@
# If a new option is specified, default the option to $newoption
set deprecated_options($option) $newoption
# Register a proc for printing a warning
- option_proc $option warn_deprecated_option
+ option_proc $option handle_deprecated_option
}
##
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090527/67f8e9b1/attachment.html>
More information about the macports-changes
mailing list