Making the error catching more explicit.

This will allow for other errors to bubble up and not be caught by the catch all.
This commit is contained in:
David Higgins 2012-11-30 13:13:51 -07:00
parent 8db2f17862
commit 3336aed18c

View File

@ -4,7 +4,7 @@ import os, sys
try:
import packstack
except:
except ImportError:
# packstack isn't installed, running from source checkout
sys.path.append(os.path.join(os.path.split(sys.argv[0])[0], ".."))
import packstack