- Timestamp:
- Dec 1, 2007 1:04:10 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/testScripts/NBbuildConfig.py
r793 r794 256 256 THIRD_PARTY_HISTORY.append(thirdPartyBaseDir) 257 257 thirdPartyDirs = os.listdir(thirdPartyBaseDir) 258 #clean up: take care of .svn, .OLD, and non-directory entries 259 for d in thirdPartyDirs[:] : 260 if d=='.svn' : 261 thirdPartyDirs.remove(d) 262 continue 263 thirdPartyDir=os.path.join(thirdPartyBaseDir,d) 264 if not os.path.isdir(thirdPartyDir) : 265 thirdPartyDirs.remove(d) 266 continue 267 if d.endswith('.OLD') : 268 NBlogMessages.writeMessage(' removing '+d) 269 shutil.rmtree(thirdPartyDir) 270 fileToBeRemoved=os.path.join(thirdPartyDir[0:-4], 'NBinstalldone') 271 if os.path.isfile(fileToBeRemoved) : 272 os.remove(fileToBeRemoved) 273 thirdPartyDirs.remove(d) 274 continue 258 275 for d in thirdPartyDirs : 259 276 if d=='.svn' : continue
Note: See TracChangeset
for help on using the changeset viewer.