Browse Source

Possible fix for FontTriplet errors during heavy load

Testing a theory about bad fop cache directory

Fixes LP# 1221721

Change-Id: Ic355f0d34b817ba52eb96b04b1ec0d2d1e7fe953
changes/60/60060/1
Davanum Srinivas 8 years ago
parent
commit
9fa0bd8fd7
  1. 3
      validate.py

3
validate.py

@ -24,6 +24,7 @@ import argparse
import multiprocessing
import os
import re
import shutil
import subprocess
import sys
import urllib2
@ -294,6 +295,8 @@ def build_book(rootdir, 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

Loading…
Cancel
Save