Skip to content

Commit 27eb4f2

Browse files
committed
Don't pass spurious argument with --profile
--HG-- extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%40513
1 parent 165ea70 commit 27eb4f2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

parse.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
44
Parse a document to a simpletree tree, with optional profiling
55
"""
6+
#RELEASE move ./examples/
67

78
import sys
89
import os
@@ -71,7 +72,7 @@ def parse():
7172
import hotshot
7273
import hotshot.stats
7374
prof = hotshot.Profile('stats.prof')
74-
prof.runcall(p.parse, f, False)
75+
prof.runcall(p.parse, f)
7576
prof.close()
7677
# XXX - We should use a temp file here
7778
stats = hotshot.stats.load('stats.prof')

0 commit comments

Comments
 (0)