Changeset 4906 for waeup/trunk
- Timestamp:
- 27 Jan 2010, 12:28:17 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/trunk/src/waeup/datacenter.py
r4904 r4906 325 325 # If finished and pending-file were created in a location 326 326 # outside datacenter storage, we remove it. 327 maybe_temp_dir = os.path.dirname(finished_file) 327 328 if os.path.commonprefix( 328 [self.storage, finished_file]) != self.storage:329 shutil.rmtree( os.path.dirname(finished_file)329 [self.storage, maybe_temp_dir]) != self.storage: 330 shutil.rmtree(maybe_temp_dir) 330 331 return 331 332
Note: See TracChangeset for help on using the changeset viewer.