Ignore:
Timestamp:
Dec 10, 2015, 12:53:36 PM (11 years ago)
Author:
Pedro Gea <pgea@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
e87e769
Parents:
00d6ed4
Message:

Se modifica el uso que se hace del paquete trycatch para evitar incompatibilidades con tcl8.6:

+ No se importan los métodos del paquete
+ Se llaman las llamadas a try haciendo uso del namespace: ::trycatach::try

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@7096 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tolbase/lib/nbdbmanager/nbdbmanager.tcl

    r00d6ed4 r3634546  
    55package require trycatch
    66
    7 if { [ info commands "try" ] eq "" } {
    8   namespace import ::trycatch::*
    9 }
    10 
     7#(pgea) Se utilizará trycatch sin importar sus métodos
     8#(pgea) para hacer el código compatible con tcl8.6
     9#(pgea) Por ejemplo: ::trycatch::try ...
     10# if { [ info commands "try" ] eq "" } {
     11#   namespace import ::trycatch::*
     12# }
    1113
    1214snit::type nbdbmanagerType {
Note: See TracChangeset for help on using the changeset viewer.