mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 14:30:09 +01:00
Merge branch 'master' of gitlab.com:mbarkhau/pycalver
This commit is contained in:
commit
e17165827f
1 changed files with 5 additions and 2 deletions
|
|
@ -28,9 +28,12 @@ _VERBOSE = 0
|
||||||
# To enable pretty tracebacks:
|
# To enable pretty tracebacks:
|
||||||
# echo "export ENABLE_BACKTRACE=1;" >> ~/.bashrc
|
# echo "export ENABLE_BACKTRACE=1;" >> ~/.bashrc
|
||||||
if os.environ.get('ENABLE_BACKTRACE') == '1':
|
if os.environ.get('ENABLE_BACKTRACE') == '1':
|
||||||
|
try:
|
||||||
import backtrace
|
import backtrace
|
||||||
|
|
||||||
backtrace.hook(align=True, strip_path=True, enable_on_envvar_only=True)
|
backtrace.hook(align=True, strip_path=True, enable_on_envvar_only=True)
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
click.disable_unicode_literals_warning = True
|
click.disable_unicode_literals_warning = True
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue