Merge "[cli-reference] increase maximum depth of the Python interpreter stack"

This commit is contained in:
Jenkins 2016-01-13 16:14:18 +00:00 committed by Gerrit Code Review
commit 391d495e66

View File

@ -25,6 +25,10 @@ import sys
sys.path.append(os.path.dirname(__file__)) sys.path.append(os.path.dirname(__file__))
# Increase the maximum depth of the Python interpreter stack to solve the
# "RuntimeError: maximum recursion depth exceeded in cmp" issue.
sys.setrecursionlimit(4000)
import openstackdocstheme import openstackdocstheme
# If extensions (or modules to document with autodoc) are in another directory, # If extensions (or modules to document with autodoc) are in another directory,