Skip to content

Commit

Permalink
Broaden exception clause in "colour.utilities.describe_environment" d…
Browse files Browse the repository at this point in the history
…efinition.
  • Loading branch information
KelSolaar committed Oct 31, 2018
1 parent 729cd10 commit 3bb8924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion colour/utilities/verbose.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ def describe_environment(runtime_packages=True,
version = subprocess.check_output(
['git', 'describe'], cwd=colour.__path__[0]).strip()
version = version.decode('utf-8')
except subprocess.CalledProcessError:
except Exception:
version = colour.__version__

environment['colour-science.org']['colour'] = version
Expand Down

0 comments on commit 3bb8924

Please sign in to comment.