bbangert / dozer


WSGI middleware fork of Robert Brewer's Dowser
Clone URL : http://bitbucket.org/bbangert/dozer/ (size: 146.1 KB)
commit 32: 0f4448e5c53c
parent 31: 1258a56feb44
branch: trunk
Adding line labels.
Ben Bangert / bbangert
4 months ago

Changed (Δ55 bytes):

raw changeset »

dozer/profile.py (2 lines added, 1 lines removed)

Up to file-list dozer/profile.py:

@@ -178,7 +178,8 @@ def write_dot_graph(data, tree, filename
178
178
                if isinstance(subcode, str) or skip:
179
179
                    continue
180
180
                sub_name = graphlabel(subcode)
181
                f.write('\t"%s" -> "%s"\n' % (entry_name, sub_name))
181
                f.write('\t"%s" -> "%s" [label="%s"]\n' % \
182
                    (entry_name, sub_name, subentry.callcount))
182
183
    f.write('}\n')
183
184
    f.close()
184
185