New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 32514

Show
Ignore:
Timestamp:
01/05/2008 17:20:25 (4 years ago)
Author:
eridius@…
Message:

Replace the ui_channels if statement with a try-catch to try and fix the mysterious 10.3 issue

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/base/src/macports1.0/macports.tcl

    r32394 r32514  
    101101proc macports::ui_init {priority message} { 
    102102    # Get the list of channels. 
    103     if {[llength [info commands ui_channels]] > 0} { 
     103    try { 
    104104        set channels [ui_channels $priority] 
    105     } else { 
     105    } catch * { 
    106106        set channels [ui_channels_default $priority] 
    107107    }