From ffa5861133cab43257256766e0203c76c45f0205 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 8 Jan 2011 22:33:53 -0500 Subject: [PATCH] Allow edges to packages by default (TODO: command-line option. --- depgraph2dot.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/depgraph2dot.py b/depgraph2dot.py index f2b1205..01d36c7 100755 --- a/depgraph2dot.py +++ b/depgraph2dot.py @@ -113,10 +113,10 @@ class hooks (object) : and self._invisible_path(dpath) == True : LOG.debug('invisible module path %s' % dpath) return False # don't draw edges to invisible path modules - elif dtype == imp.PKG_DIRECTORY: - # don't draw edges to packages. - LOG.debug('package') - return False + #elif dtype == imp.PKG_DIRECTORY: + # # don't draw edges to packages. + # LOG.debug('package') + # return False return True def _invisible_name(self, mod_name) : if mod_name in self._invisible_mods : -- 2.26.2