More adjustments to graph make for pep8.

This commit is contained in:
Joshua Harlow 2012-02-17 16:46:05 -08:00
parent 3b16335266
commit 4305d28bdd

View File

@ -6,6 +6,8 @@ from devstack.progs import common
distro = settings.RHEL6
comps = common.get_default_components(distro)
def filter_c(c):
if not inspect.isclass(c):
return False
@ -13,6 +15,7 @@ def filter_c(c):
return False
return True
action = settings.INSTALL
klss = list()
for c in comps.keys():
@ -27,7 +30,3 @@ objgraph.show_refs(klss,
highlight=inspect.isclass,
filter=filter_c,
extra_ignore=[id(locals())])