Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 9f71effdc5b45641a7227d14afa5813b25a42bf2 1 parent fd51c47
Jean-Christophe Fillion-Robin jcfr authored
Showing with 0 additions and 7 deletions.
  1. +0 −7 Base/Python/slicer/slicerqt-with-tcl.py
7 Base/Python/slicer/slicerqt-with-tcl.py
View
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.