mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Cosmetics
This commit is contained in:
parent
64bef644c3
commit
70cac24909
2 changed files with 10 additions and 10 deletions
|
|
@ -20,6 +20,7 @@ def profile(profileOutputFile=None, dotOutputFile=None, imageOutputFile=None):
|
|||
"""
|
||||
This will run the program and present profiling data in a nice looking graph
|
||||
"""
|
||||
|
||||
try:
|
||||
from extra.gprof2dot import gprof2dot
|
||||
from extra.xdot import xdot
|
||||
|
|
@ -28,7 +29,9 @@ def profile(profileOutputFile=None, dotOutputFile=None, imageOutputFile=None):
|
|||
import pydot
|
||||
except ImportError, e:
|
||||
errMsg = "profiling requires third-party libraries (%s). " % getUnicode(e, UNICODE_ENCODING)
|
||||
errMsg += "quick steps: 1) install http://code.google.com/p/pydot/ 2) sudo apt-get install python-profiler graphviz"
|
||||
errMsg += "Quick steps:%s" % os.linesep
|
||||
errMsg += "1) Install http://code.google.com/p/pydot/%s" % os.linesep
|
||||
errMsg += "2) sudo apt-get install python-profiler graphviz"
|
||||
logger.error(errMsg)
|
||||
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue