Skip to content

Commit 1f01d60

Browse files
committed
Minor style update
1 parent ab3ff02 commit 1f01d60

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/core/profiling.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,8 @@ def profile(profileOutputFile=None, dotOutputFile=None, imageOutputFile=None):
2626
import gtk
2727
import pydot
2828
except ImportError, e:
29-
errMsg = "profiling requires third-party libraries (%s). " % getUnicode(e, UNICODE_ENCODING)
30-
errMsg += "Quick steps:%s" % os.linesep
31-
errMsg += "1) sudo apt-get install python-pydot python-pyparsing python-profiler graphviz"
29+
errMsg = "profiling requires third-party libraries ('%s') " % getUnicode(e, UNICODE_ENCODING)
30+
errMsg += "(Hint: 'sudo apt-get install python-pydot python-pyparsing python-profiler graphviz')"
3231
logger.error(errMsg)
3332

3433
return

0 commit comments

Comments
 (0)