From 04365dd8561a17196b476cb228b83be5d4a83c50 Mon Sep 17 00:00:00 2001 From: Michael Hayes Date: Mon, 29 Aug 2011 23:20:07 +0000 Subject: [PATCH] Remove leading @ --- etc/graphdeps.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/etc/graphdeps.py b/etc/graphdeps.py index 672728f..764b1f1 100755 --- a/etc/graphdeps.py +++ b/etc/graphdeps.py @@ -1,5 +1,5 @@ #!/usr/bin/python -"""graphdeps V0.09 +"""graphdeps V0.10 Copyright (c) 2011 Michael P. Hayes, UC ECE, NZ Usage: graphdeps Makefile @@ -48,6 +48,10 @@ def node_output (dotfile, name, options): if options.debug: print >> sys.stderr, 'Node', name + indirect = (name[0] == '@') + if indirect: + name = name[1:] + if not options.calls and not options.fullpaths: name = os.path.basename (name)