Skip to content

Commit

Permalink
For --test-module
Browse files Browse the repository at this point in the history
  • Loading branch information
quentinhardy committed Sep 1, 2019
1 parent af93c72 commit 57df65e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Java.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ def createClassAndFunctionToExecOsCmd(self):
CREATE AND COMPILE JAVA CLASS and CREATE FUNCTION TO CALL JAVA
'''
logging.info("Create and compile the java class")
self.SOURCE_OS_COMMAND_CLASS = self.SOURCE_OS_COMMAND_CLASS.replace('"/bin/sh"','"'+self.args["path-shell"]+'"')
if "path-shell" in self.args:
self.SOURCE_OS_COMMAND_CLASS = self.SOURCE_OS_COMMAND_CLASS.replace('"/bin/sh"','"'+self.args["path-shell"]+'"')
status = self.__execPLSQL__(self.SOURCE_OS_COMMAND_CLASS)
if isinstance(status,Exception):
logging.info("Impossible to create and compile the java class: {0}".format(self.cleanError(status)))
Expand Down

0 comments on commit 57df65e

Please sign in to comment.