385 |
|
|
386 |
try: |
try: |
387 |
# Check patches still apply |
# Check patches still apply |
388 |
subprocess.check_call(['bm', '-p', '--nodeps'], cwd=self.cwd) |
subprocess.check_call(['bm', '-p', '--nodeps', '--clean'], cwd=self.cwd) |
389 |
except subprocess.CalledProcessError: |
except subprocess.CalledProcessError: |
390 |
logfile = os.path.join(os.path.dirname(self.path), 'log.%s' % os.path.splitext(os.path.basename(self.path))[0]) |
logfile = os.path.join(os.path.dirname(self.path), 'log.%s' % os.path.splitext(os.path.basename(self.path))[0]) |
391 |
if os.path.exists(logfile): |
if os.path.exists(logfile): |