Fix profile runcall.

This commit is contained in:
Leonardo Garcia 2013-08-12 19:33:49 -03:00 committed by Cole Robinson
parent da3237e8a6
commit 66fb366416
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ def main():
if options.profile is not None:
import hotshot
prof = hotshot.Profile(options.profile)
prof.runcall(engine.application.run)
prof.runcall(engine.application.run, None)
prof.close()
else:
engine.application.run(None)