Skip to content

Commit

Permalink
Ignoring db migrate mgmt module to workaround bug 889287
Browse files Browse the repository at this point in the history
Change-Id: Ibe436da7f8cf4f3fc0a09c3cecb59da95726cad0
  • Loading branch information
dolph committed Nov 15, 2011
1 parent e789a03 commit 33c1c93
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions doc/generate_autodoc_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
RSTDIR=os.path.join(base_dir, "source", "sourcecode")
SOURCEDIR=os.path.join(base_dir, "..")

# Exclude these modules front the autodoc results
EXCLUDE_MODULES = ['keystone.backends.sqlalchemy.migrate_repo.manage']

def find_autodoc_modules(module_name, sourcedir):
"""returns a list of modules in the SOURCE directory"""
Expand All @@ -32,8 +34,9 @@ def find_autodoc_modules(module_name, sourcedir):
if not (base == "__init__"):
elements.append(base)
result = (".".join(elements))
print result
modlist.append(result)
if result not in EXCLUDE_MODULES:
print result
modlist.append(result)
return modlist

if not(os.path.exists(RSTDIR)):
Expand Down

0 comments on commit 33c1c93

Please sign in to comment.