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:
parent
8db2f17862
commit
3336aed18c
@ -4,7 +4,7 @@ import os, sys
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
import packstack
|
import packstack
|
||||||
except:
|
except ImportError:
|
||||||
# packstack isn't installed, running from source checkout
|
# packstack isn't installed, running from source checkout
|
||||||
sys.path.append(os.path.join(os.path.split(sys.argv[0])[0], ".."))
|
sys.path.append(os.path.join(os.path.split(sys.argv[0])[0], ".."))
|
||||||
import packstack
|
import packstack
|
||||||
|
Loading…
x
Reference in New Issue
Block a user