From: W. Trevor King Date: Sun, 9 Jan 2011 03:33:53 +0000 (-0500) Subject: Allow edges to packages by default (TODO: command-line option. X-Git-Url: http://git.tremily.us/?p=depgraph.git;a=commitdiff_plain;h=ffa5861133cab43257256766e0203c76c45f0205 Allow edges to packages by default (TODO: command-line option. --- 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 :