Lines Matching defs:fn
304 def fnFormat(fn) :
307 pos = fn.find(root_arch_str)
309 return fn
311 pos = fn.find("/", pos)
313 return fn
315 return fn[pos + 1:]
519 for fn in baseFilesList :
520 if os.path.islink(fn) :
523 fileName = fn[baseStringLength:]
529 for fn in ptchFilesList :
530 if os.path.islink(fn) :
533 fileName = fn[ptchStringLength:]
602 fn = f;
604 fn = "root_" + arch + "/" + f
609 if not os.path.exists(ptch + fn) :
613 fn = f
615 fn = "root_" + arch + "/" + f
619 if os.path.islink(base + fn) : # ignore links
621 if os.path.islink(ptch + fn) :
625 compFiles.append(fn)
627 deletedFiles.append(fn)
629 newFiles.append(fn)
631 if os.path.islink(base + fn) and \
632 os.path.islink(ptch + fn) :
1018 for fn in baseFlist :
1019 flist.append(str_prefix_trunc(fn, ArchTmpDir1))
1023 for fn in ptchFlist :
1024 flist.append(str_prefix_trunc(fn, ArchTmpDir2))
1027 for fn in ptchFlist :
1028 if not fn in baseFlist :
1030 fn + " added to " + fileName)
1034 for fn in baseFlist :
1035 if not fn in ptchFlist :
1037 fn + " removed from " + fileName)
1041 differs = compareOneFile((ArchTmpDir1 + fn), \
1042 (ArchTmpDir2 + fn), True)
1045 fn + " in " + fileName + " differs")
1219 fn = changedFiles.pop()
1226 base = baseRoot + fn
1227 ptch = ptchRoot + fn
1450 for fn in newFiles :
1451 info(fnFormat(fn))
1459 for fn in deletedFiles :
1460 info(fnFormat(fn))