What steps will reproduce the problem?
1. we have the following code in .py
if len(sys.argv)>1:
solver = Solver(resultsDir = sys.argv[1])
else:
solver = Solver()
2. use F5 to run the file in ulipad
3. it will assume sys.argv, hence we got resultsDir=
What is the expected output? What do you see instead?
it should go to Solver() branch and use a default resultsDir. I can go to
terminal windows and do python a.py, then it follows the else branch.
What version of the product are you using? On what operating system?
ubuntu
Please provide any additional information below.
Original issue reported on code.google.com by ycw...@gmail.com on 19 May 2010 at 3:01
Original issue reported on code.google.com by
ycw...@gmail.com
on 19 May 2010 at 3:01