When I was testing a really cool Cluster Management script I am developing, I found some issues with using the Java import getopt in my module.

Reason: One cause can be that you are using imported Java classes such as getopt which produce Java strings for certain methods ie get args such as opts, args = getopt.getopt( sys.argv, shortForm, longForm );

What this means is that later on in our jython module you assume a jython string but what you have is Java object.


Leave a Reply