Skip to content

Commit bcb12d9

Browse files
committed
More pythonic way of querying the env
1 parent a39bd0b commit bcb12d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@
2323

2424
import os
2525

26-
version = os.environ['MRMAT_VERSION'] if 'MRMAT_VERSION' in os.environ else '0.0.0.dev0'
26+
version = os.environ.get('MRMAT_VERSION', '0.0.0.dev0')

0 commit comments

Comments
 (0)