You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by rj...@apache.org on 2014/03/16 22:20:29 UTC
svn commit: r1578163 - /bloodhound/trunk/installer/bloodhound_setup.py
Author: rjollos
Date: Sun Mar 16 21:20:28 2014
New Revision: 1578163
URL: http://svn.apache.org/r1578163
Log:
0.8dev: Follow-on to [1557980]. Avoid printing messy traceback from failed imports.
Modified:
bloodhound/trunk/installer/bloodhound_setup.py
Modified: bloodhound/trunk/installer/bloodhound_setup.py
URL: http://svn.apache.org/viewvc/bloodhound/trunk/installer/bloodhound_setup.py?rev=1578163&r1=1578162&r2=1578163&view=diff
==============================================================================
--- bloodhound/trunk/installer/bloodhound_setup.py (original)
+++ bloodhound/trunk/installer/bloodhound_setup.py Sun Mar 16 21:20:28 2014
@@ -39,10 +39,9 @@ try:
from trac.admin.console import TracAdmin
from trac.config import Configuration
except ImportError, e:
- print ("Requirements should be installed before running bloodhound_setup.py.\n"
- "You can install them with the following command:\n"
- " pip install -r requirements.txt\n")
- traceback.print_exc()
+ print("Requirements must be installed before running bloodhound_setup.py.\n"
+ "You can install them with the following command:\n"
+ " pip install -r requirements.txt\n")
sys.exit(1)
try: