Commits

Stan Seibert  committed bb50cc2

Fully specify CalledProcessError package

  • Participants
  • Parent commits f1df7b1

Comments (0)

Files changed (1)

File shrinkwrap/install.py

 import multiprocessing
 import platform
 import collections
+from distutils.errors import DistutilsSetupError
 
 def assert_string(dist, attr, value):
     '''Verify that value is a string'''
         log.warn('Executing: ' + cmd)
         ret = subprocess.call('eval $(shrinkwrap activate) && ' + cmd, shell=True, executable='/bin/bash')
         if ret != success_return_code:
-            raise CalledProcessError(cmd=cmd, returncode=ret)
+            raise subprocess.CalledProcessError(cmd=cmd, returncode=ret)
 
     def make(self, parallel=True, extra_opts=None):
         '''Run make in current directory.  If ``parallel`` is true,