More adjustments to graph make for pep8.
This commit is contained in:
parent
3b16335266
commit
4305d28bdd
@ -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())])
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user