From: ssauer Date: Fri, 30 Jul 2010 11:22:35 +0000 (+0000) Subject: fix for drawmodules.py to colour modules beginning with "senf::emu" in orange instead... X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=d23a1b541174b50b9787d26d1d326903fe938ef6;p=senf.git fix for drawmodules.py to colour modules beginning with "senf::emu" in orange instead of green git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1654 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/tools/drawmodules.py b/tools/drawmodules.py index 49da65f..4926d8b 100755 --- a/tools/drawmodules.py +++ b/tools/drawmodules.py @@ -48,7 +48,7 @@ for line in sys.stdin: for moduleid, (module, cs) in modules.iteritems(): module = module.split('<',1)[0] - if module.rsplit('::',1)[-1] in NETEMU: + if module.rsplit('::',1)[-1] in NETEMU or module.startswith("senf::emu"): color = 5 elif module.endswith("Source") or module.endswith("Sink"): color = 1