File tree 15 files changed +69
-15
lines changed
15 files changed +69
-15
lines changed Original file line number Diff line number Diff line change 23
23
# # ## ### ##### ######## #############
24
24
25
25
package require Tcl 8.5 9
26
- package require TclOO
26
+ try {
27
+ package require tcl::oo
28
+ } trap {TCL PACKAGE UNFOUND} {tres topts} {
29
+ package require TclOO
30
+ }
27
31
package require tcl::chan::core
28
32
29
33
# # ## ### ##### ######## #############
Original file line number Diff line number Diff line change 35
35
# # TODO document that facada takes ownership of the channel.
36
36
37
37
package require Tcl 8.5 9
38
- package require TclOO
38
+ try {
39
+ package require tcl::oo
40
+ } trap {TCL PACKAGE UNFOUND} {tres topts} {
41
+ package require TclOO
42
+ }
39
43
package require logger
40
44
package require tcl::chan::core
41
45
Original file line number Diff line number Diff line change 21
21
# # ## ### ##### ######## #############
22
22
23
23
package require Tcl 8.5 9
24
- package require TclOO
24
+ try {
25
+ package require tcl::oo
26
+ } trap {TCL PACKAGE UNFOUND} {tres topts} {
27
+ package require TclOO
28
+ }
25
29
package require tcl::chan::events
26
30
27
31
# # ## ### ##### ######## #############
Original file line number Diff line number Diff line change 34
34
# # ## ### ##### ######## #############
35
35
36
36
package require Tcl 8.5 9
37
- package require TclOO
37
+ try {
38
+ package require tcl::oo
39
+ } trap {TCL PACKAGE UNFOUND} {tres topts} {
40
+ package require TclOO
41
+ }
38
42
package require tcl::chan::halfpipe
39
43
40
44
# # ## ### ##### ######## #############
Original file line number Diff line number Diff line change 22
22
# # ## ### ##### ######## #############
23
23
24
24
package require Tcl 8.5 9
25
- package require TclOO
25
+ try {
26
+ package require tcl::oo
27
+ } trap {TCL PACKAGE UNFOUND} {tres topts} {
28
+ package require TclOO
29
+ }
26
30
package require tcl::chan::events
27
31
28
32
# # ## ### ##### ######## #############
Original file line number Diff line number Diff line change 22
22
# # ## ### ##### ######## #############
23
23
24
24
package require Tcl 8.5 9
25
- package require TclOO
25
+ try {
26
+ package require tcl::oo
27
+ } trap {TCL PACKAGE UNFOUND} {tres topts} {
28
+ package require TclOO
29
+ }
26
30
package require tcl::chan::events
27
31
28
32
# # ## ### ##### ######## #############
Original file line number Diff line number Diff line change 23
23
# # ## ### ##### ######## #############
24
24
25
25
package require Tcl 8.5 9
26
- package require TclOO
26
+ try {
27
+ package require tcl::oo
28
+ } trap {TCL PACKAGE UNFOUND} {tres topts} {
29
+ package require TclOO
30
+ }
27
31
package require tcl::chan::events
28
32
29
33
# # ## ### ##### ######## #############
Original file line number Diff line number Diff line change 26
26
27
27
package require tcl::chan::events
28
28
package require Tcl 8.5 9
29
- package require TclOO
29
+ try {
30
+ package require tcl::oo
31
+ } trap {TCL PACKAGE UNFOUND} {tres topts} {
32
+ package require TclOO
33
+ }
30
34
31
35
# # ## ### ##### ######## #############
32
36
Original file line number Diff line number Diff line change 26
26
# # ## ### ##### ######## #############
27
27
28
28
package require Tcl 8.5 9
29
- package require TclOO
29
+ try {
30
+ package require tcl::oo
31
+ } trap {TCL PACKAGE UNFOUND} {tres topts} {
32
+ package require TclOO
33
+ }
30
34
package require tcl::chan::core
31
35
32
36
# # ## ### ##### ######## #############
Original file line number Diff line number Diff line change 26
26
# # ## ### ##### ######## #############
27
27
28
28
package require Tcl 8.5 9
29
- if {[catch {package require tcl::oo}]} {
29
+ try {
30
+ package require tcl::oo
31
+ } trap {TCL PACKAGE UNFOUND} {tres topts} {
30
32
package require TclOO
31
33
}
32
34
package require tcl::chan::events
Original file line number Diff line number Diff line change 26
26
# # ## ### ##### ######## #############
27
27
28
28
package require Tcl 8.5 9
29
- package require TclOO
29
+ try {
30
+ package require tcl::oo
31
+ } trap {TCL PACKAGE UNFOUND} {tres topts} {
32
+ package require TclOO
33
+ }
30
34
package require tcl::chan::events
31
35
32
36
# # ## ### ##### ######## #############
Original file line number Diff line number Diff line change 29
29
# # ## ### ##### ######## #############
30
30
31
31
package require Tcl 8.5 9
32
- package require TclOO
32
+ try {
33
+ package require tcl::oo
34
+ } trap {TCL PACKAGE UNFOUND} {tres topts} {
35
+ package require TclOO
36
+ }
33
37
package require tcl::chan::events
34
38
35
39
# # ## ### ##### ######## #############
Original file line number Diff line number Diff line change 22
22
# # ## ### ##### ######## #############
23
23
24
24
package require Tcl 8.5 9
25
- package require TclOO
25
+ try {
26
+ package require tcl::oo
27
+ } trap {TCL PACKAGE UNFOUND} {tres topts} {
28
+ package require TclOO
29
+ }
26
30
package require tcl::chan::events
27
31
28
32
# # ## ### ##### ######## #############
Original file line number Diff line number Diff line change 22
22
# # ## ### ##### ######## #############
23
23
24
24
package require Tcl 8.5 9
25
- if {[catch {package require tcl::oo}]} {
25
+ try {
26
+ package require tcl::oo
27
+ } trap {TCL PACKAGE UNFOUND} {tres topts} {
26
28
package require TclOO
27
29
}
28
30
Original file line number Diff line number Diff line change 27
27
# # ## ### ##### ######## #############
28
28
29
29
package require Tcl 8.5 9
30
- if {[catch {package require tcl::oo}]} {
30
+ try {
31
+ package require tcl::oo
32
+ } trap {TCL PACKAGE UNFOUND} {tres topts} {
31
33
package require TclOO
32
34
}
33
35
package require tcl::chan::core
You can’t perform that action at this time.
0 commit comments