diff --git a/bin/packstack b/bin/packstack index af1f421d2..a68cce651 100755 --- a/bin/packstack +++ b/bin/packstack @@ -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