diff --git a/support/travis-build.py b/support/travis-build.py index c9d0f90a..3ef09fa4 100755 --- a/support/travis-build.py +++ b/support/travis-build.py @@ -75,7 +75,7 @@ if build == 'Doc': # Print the output without the key. print(p.communicate()[0].replace(os.environ['KEY'], '$KEY')) if p.returncode != 0: - raise CalledProcessError(p.returncode, cmd) + raise subprocess.CalledProcessError(p.returncode, cmd) exit(0) standard = os.environ['STANDARD']