Permalink
Browse files

BUG: Remove extra initialization associated with "pkgIndex.tcl"

Since the file "pkgIndex.tcl" has been removed with r21407, it shouldn't
be imported.


See http://www.na-mic.org/Bug/view.php?id=2735
Fixes #2735

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21410 3bd1e089-480b-0410-8dfb-8563597acbee
  • Loading branch information...
1 parent fd51c47 commit 9f71effdc5b45641a7227d14afa5813b25a42bf2 @jcfr jcfr committed Nov 14, 2012
Showing with 0 additions and 7 deletions.
  1. +0 −7 Base/Python/slicer/slicerqt-with-tcl.py
@@ -21,13 +21,6 @@ def tcl(cmd):
source $dir/Slicer3Adapters.tcl
::Slicer3Adapters::Initialize
""")
-
- # TODO: not clear why package require is not working
- # - instead, source the pkgIndex directly
- _tpycl.tcl_eval("""
- set dir $::env(SLICER_HOME)/$::env(SLICER_SHARE_DIR)/Tcl
- source $dir/pkgIndex.tcl
- """)
return _tpycl.tcl_eval(cmd)

0 comments on commit 9f71eff

Please sign in to comment.