Skip to content

python: add functions to return parameters as tuple (fix non-working…

Fabrice Le Goff requested to merge (removed):master into master

Hi @salnikov, @avolio,

I don't know exactly who is responsible for this package, so feel free to poke the appropriate person.

A few words on why I did this commit.

  1. I had to copy and patch this code in the CastorScript because cx_Oracle.connect does not work with the password that contains special characters (like %#$...) when they are given as a string. But it does work when calling the connect(user, password, service) overload.
  2. CastorScript doesn't use the CORAL_DBLOOKUP_PATH feature, it goes directly to the authentication.xml file. So I separated these two distinct functionalities and make the first one depend on the latter.

The short script test was modified to include the new functions. It was successfully tested in tbed.

Let me know if you think it needs more work to be included.

Cheers, Fabrice

Merge request reports