"""Convert `py2depgraph` dependency data to Graphviz dot syntax.
"""
-import sys, colorsys, imp, re, pprint
+import colorsys
from hashlib import md5
+import imp
from os import popen, getuid # for finding C extension dependencies with system calls
from pwd import getpwuid
+import re
+import sys
+
USER=getpwuid(getuid())[0] # get effective user name
self._link_outside_visited_nodes = link_outside_visited_nodes
self._ignore_builtins = ignore_builtins
self._entered_bonus_nodes = {} # a dict of bonus nodes already printed
- self._debug = False
def continue_test(self) :
return True
def visible_mod_test(self, mod_name, dep_dict, type, path,