From: W. Trevor King Date: Sun, 9 Jan 2011 03:13:03 +0000 (-0500) Subject: Alphebetize depgraph2dot imports. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8025b9389aac747dfa07fa162e000a61ee83be54;p=depgraph.git Alphebetize depgraph2dot imports. --- diff --git a/depgraph2dot.py b/depgraph2dot.py index c347947..b1e27cc 100755 --- a/depgraph2dot.py +++ b/depgraph2dot.py @@ -25,10 +25,14 @@ """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 @@ -61,7 +65,6 @@ class hooks (object) : 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,