From 8025b9389aac747dfa07fa162e000a61ee83be54 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 8 Jan 2011 22:13:03 -0500 Subject: [PATCH] Alphebetize depgraph2dot imports. --- depgraph2dot.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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, -- 2.26.2