Merge "Merge fix from validate.py to test.py"

This commit is contained in:
Jenkins 2013-09-24 02:29:46 +00:00 committed by Gerrit Code Review
commit f71a490252
1 changed files with 3 additions and 0 deletions

View File

@ -24,6 +24,7 @@ import argparse
import multiprocessing
import os
import re
import shutil
import subprocess
import sys
import urllib2
@ -368,6 +369,8 @@ def build_book(book):
result = True
returncode = 0
try:
shutil.rmtree(os.path.expanduser("~/.fop"),
ignore_errors=True)
output = subprocess.check_output(
["mvn", "clean", "generate-sources"],
stderr=subprocess.STDOUT