]> Cypherpunks repositories - keks.git/commitdiff
No need in globally imported KEKS
authorSergey Matveev <stargrave@stargrave.org>
Wed, 26 Nov 2025 15:08:57 +0000 (18:08 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Wed, 26 Nov 2025 15:56:08 +0000 (18:56 +0300)
tcl/schema.tcl

index 8fa25252f92af1ed835748784a78d3985c8f7d5b785f67b40484cd1a20db5b65..aed03aa71ce6914fd4aa684e29820155c618251503bc5e12fbb8eb8cf1baaa72 100755 (executable)
@@ -170,9 +170,8 @@ namespace export do process field
 
 package provide KEKS::Schema $KEKS::Schema::version
 
-namespace import KEKS::*
-
 if {[info exists argv0] && ([file tail [info script]] eq [file tail $argv0])} {
+    namespace import KEKS::*
     set _schema {}
     foreach f $::argv {lappend _schema schema-include $f}
     set buf ""