Changeset 4906


Ignore:
Timestamp:
27 Jan 2010, 12:28:17 (15 years ago)
Author:
uli
Message:

Fix syntax error.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/trunk/src/waeup/datacenter.py

    r4904 r4906  
    325325        # If finished and pending-file were created in a location
    326326        # outside datacenter storage, we remove it.
     327        maybe_temp_dir = os.path.dirname(finished_file)
    327328        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)
    330331        return
    331332
Note: See TracChangeset for help on using the changeset viewer.