projects
/
depgraph.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1c13fd2
)
Allow edges to packages by default (TODO: command-line option.
author
W. Trevor King
<wking@drexel.edu>
Sun, 9 Jan 2011 03:33:53 +0000
(22:33 -0500)
committer
W. Trevor King
<wking@drexel.edu>
Sun, 9 Jan 2011 03:33:53 +0000
(22:33 -0500)
depgraph2dot.py
patch
|
blob
|
history
diff --git
a/depgraph2dot.py
b/depgraph2dot.py
index f2b1205b6252a5378c8680b336a68ae89095505d..01d36c77d98e9939e07f5f632f08641d71d01373 100755
(executable)
--- 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
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 :
return True
def _invisible_name(self, mod_name) :
if mod_name in self._invisible_mods :