mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-27 01:24:42 +00:00
fix imports
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2993 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
a24fd65943
commit
51f48790aa
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,6 @@ Check HTML pages for broken links.
|
|||
"""
|
||||
|
||||
import sys
|
||||
import locale
|
||||
import codecs
|
||||
import re
|
||||
import os
|
||||
|
|
@ -191,6 +190,7 @@ def viewprof ():
|
|||
print >>sys.stderr, \
|
||||
_("Please run linkchecker with --profile to generate it.")
|
||||
sys.exit(1)
|
||||
import pstats
|
||||
stats = pstats.Stats(_profile)
|
||||
stats.strip_dirs().sort_stats("cumulative").print_stats(100)
|
||||
sys.exit(0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue