Prevent from adding \\r to the end of codeLibs

This commit is contained in:
Yonghwan Lee 2007-08-15 19:05:53 +00:00
parent 7fba8215ac
commit f19767bc37
1 changed files with 4 additions and 1 deletions

View File

@ -157,7 +157,10 @@ def doGetopts():
del pargs[0]
# Store the program arguments into the codeLibs
codeLibs += pargs
for arg in pargs:
arg = arg.strip()
if arg:
codeLibs.append(arg)
# Make sure each name appears on codeLibs exactly once.
newLibs = []