Concatenate path in a more portable fashion

svn path=/trunk/; revision=30446
This commit is contained in:
Kovarththanan Rajaratnam 2009-10-09 20:38:51 +00:00
parent fc7304c1a2
commit adf31b356e
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ for file in files:
if os.path.isfile(file):
filenames.append(file)
else:
filenames.append("%s/%s" % (srcdir, file))
filenames.append(os.path.join(srcdir, file))
if len(filenames) < 1:
print "No files found"