ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CRAB/python/WorkSpace.py
(Generate patch)

Comparing COMP/CRAB/python/WorkSpace.py (file contents):
Revision 1.35 by slacapra, Tue Jun 9 13:13:36 2009 UTC vs.
Revision 1.36 by farinafa, Wed Aug 26 12:57:22 2009 UTC

# Line 99 | Line 99 | class WorkSpace:
99  
100          if os.path.exists(self._top_dir):
101              import shutil
102 <            shutil.rmtree(self._top_dir)
103 <            pass
102 >            try:
103 >                shutil.rmtree(self._top_dir)
104 >            except :
105 >                msg = 'Problem removing whole workspace. Please remove the remaining files manually.'
106 >                raise CrabException(msg)
107          return
108  
109      def cwdDir(self):

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines