Jul-24-2019, 11:23 AM
Hi,
I have been using the following command to find all files without a label. But it is not working. I am using python 2.6 in UNIX.
I am passing a label as an argument and using the argument in code. But I see the the code is taking the argument.
lb1 = sys.argv[1] ---- this is the label
os.system("cleartool find . -ver "version(.../bh/1) && ! lbtype(lb1)" -print
After running this, I see it print all files instead.
Please help. I am trying for several days.
I have been using the following command to find all files without a label. But it is not working. I am using python 2.6 in UNIX.
I am passing a label as an argument and using the argument in code. But I see the the code is taking the argument.
lb1 = sys.argv[1] ---- this is the label
os.system("cleartool find . -ver "version(.../bh/1) && ! lbtype(lb1)" -print
After running this, I see it print all files instead.
Please help. I am trying for several days.