File tree Expand file tree Collapse file tree 10 files changed +11
-11
lines changed Expand file tree Collapse file tree 10 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 1717from oracle .weblogic .deploy .util import WLSDeployArchiveIOException
1818from oracle .weblogic .deploy .util import WebLogicDeployToolingVersion
1919
20- sys .path .append ( os .path .dirname (os .path .realpath (sys .argv [0 ])))
20+ sys .path .insert ( 0 , os .path .dirname (os .path .realpath (sys .argv [0 ])))
2121
2222# imports from local packages start here
23-
2423from wlsdeploy .aliases .aliases import Aliases
2524from wlsdeploy .aliases import model_constants
2625from wlsdeploy .aliases .model_constants import DEFAULT_WLS_DOMAIN_NAME
Original file line number Diff line number Diff line change 1616from oracle .weblogic .deploy .util import CLAException
1717from oracle .weblogic .deploy .util import WebLogicDeployToolingVersion
1818
19- sys .path .append ( os .path .dirname (os .path .realpath (sys .argv [0 ])))
19+ sys .path .insert ( 0 , os .path .dirname (os .path .realpath (sys .argv [0 ])))
2020
2121# imports from local packages start here
2222from wlsdeploy .aliases .aliases import Aliases
Original file line number Diff line number Diff line change 2222from oracle .weblogic .deploy .util import WebLogicDeployToolingVersion
2323from oracle .weblogic .deploy .validate import ValidateException
2424
25- sys .path .append ( os .path .dirname (os .path .realpath (sys .argv [0 ])))
25+ sys .path .insert ( 0 , os .path .dirname (os .path .realpath (sys .argv [0 ])))
2626
2727from wlsdeploy .aliases import model_constants
2828from wlsdeploy .aliases .aliases import Aliases
Original file line number Diff line number Diff line change 1818from oracle .weblogic .deploy .util import VariableException
1919from oracle .weblogic .deploy .util import WebLogicDeployToolingVersion
2020
21- sys .path . append ( os . path . dirname ( os . path . realpath ( sys . argv [ 0 ])))
21+ # Jython tools don't require sys.path modification
2222
2323# imports from local packages start here
2424from wlsdeploy .aliases .aliases import Aliases
Original file line number Diff line number Diff line change 1111from oracle .weblogic .deploy .util import CLAException
1212from oracle .weblogic .deploy .util import WebLogicDeployToolingVersion
1313
14- sys .path . append ( os . path . dirname ( os . path . realpath ( sys . argv [ 0 ])))
14+ # Jython tools don't require sys.path modification
1515
1616# imports from local packages start here
1717from wlsdeploy .aliases .aliases import Aliases
Original file line number Diff line number Diff line change 99from oracle .weblogic .deploy .util import CLAException
1010from oracle .weblogic .deploy .util import WebLogicDeployToolingVersion
1111
12- sys .path . append ( os . path . dirname ( os . path . realpath ( sys . argv [ 0 ])))
12+ # Jython tools don't require sys.path modification
1313
1414from wlsdeploy .aliases .aliases import Aliases
1515from wlsdeploy .exception import exception_helper
Original file line number Diff line number Diff line change 2727from oracle .weblogic .deploy .util import WebLogicDeployToolingVersion
2828from oracle .weblogic .deploy .validate import ValidateException
2929
30+ # Jython tools don't require sys.path modification
31+
3032from wlsdeploy .aliases .aliases import Aliases
3133from wlsdeploy .aliases .location_context import LocationContext
3234from wlsdeploy .aliases .model_constants import ADMIN_USERNAME
Original file line number Diff line number Diff line change 1515from oracle .weblogic .deploy .util import CLAException
1616from oracle .weblogic .deploy .util import WebLogicDeployToolingVersion
1717
18- sys .path .append ( os .path .dirname (os .path .realpath (sys .argv [0 ])))
18+ sys .path .insert ( 0 , os .path .dirname (os .path .realpath (sys .argv [0 ])))
1919
2020# imports from local packages start here
2121from wlsdeploy .aliases .aliases import Aliases
Original file line number Diff line number Diff line change 1717
1818from oracle .weblogic .deploy .logging import SummaryHandler
1919
20- sys .path . append ( os . path . dirname ( os . path . realpath ( sys . argv [ 0 ])))
20+ # Jython tools don't require sys.path modification
2121
2222# imports from local packages start here
2323from wlsdeploy .aliases .wlst_modes import WlstModes
Original file line number Diff line number Diff line change 44
55The entry point for the injectVariables tool.
66"""
7- import os
87import sys
98
109from java .io import File
1514from oracle .weblogic .deploy .util import WLSDeployArchiveIOException
1615from oracle .weblogic .deploy .util import WebLogicDeployToolingVersion
1716
18- sys .path . append ( os . path . dirname ( os . path . realpath ( sys . argv [ 0 ])))
17+ # Jython tools don't require sys.path modification
1918
2019import wlsdeploy .tool .util .variable_injector as variable_injector
2120from wlsdeploy .aliases .wlst_modes import WlstModes
You can’t perform that action at this time.
0 commit comments