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
|
distro = settings.RHEL6
|
||||||
comps = common.get_default_components(distro)
|
comps = common.get_default_components(distro)
|
||||||
|
|
||||||
|
|
||||||
def filter_c(c):
|
def filter_c(c):
|
||||||
if not inspect.isclass(c):
|
if not inspect.isclass(c):
|
||||||
return False
|
return False
|
||||||
@ -13,6 +15,7 @@ def filter_c(c):
|
|||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
||||||
action = settings.INSTALL
|
action = settings.INSTALL
|
||||||
klss = list()
|
klss = list()
|
||||||
for c in comps.keys():
|
for c in comps.keys():
|
||||||
@ -27,7 +30,3 @@ objgraph.show_refs(klss,
|
|||||||
highlight=inspect.isclass,
|
highlight=inspect.isclass,
|
||||||
filter=filter_c,
|
filter=filter_c,
|
||||||
extra_ignore=[id(locals())])
|
extra_ignore=[id(locals())])
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user