Author: dcbw
Update of /cvs/fedora/extras-buildsys/builder In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23211/builder
Modified Files: builder.py Log Message: Clean up more stuff
Index: builder.py =================================================================== RCS file: /cvs/fedora/extras-buildsys/builder/builder.py,v retrieving revision 1.40 retrieving revision 1.41 diff -u -r1.40 -r1.41 --- builder.py 31 Aug 2005 18:29:17 -0000 1.40 +++ builder.py 1 Sep 2005 19:54:49 -0000 1.41 @@ -436,6 +436,11 @@ if self._mock_config.has_key('statedir'): shutil.rmtree(self._mock_config['statedir'], ignore_errors=True)
+ source_dir = os.path.abspath(os.path.join(self._mock_config['rootdir'], "../source")) + # Ensure we're actually deleteing the job's sourcedir + if source_dir.endswith(os.path.join(self._uniqid, "source")): + shutil.rmtree(source_dir, ignore_errors=True) + def run(self): while True: if self._die:
scm-commits@lists.fedoraproject.org