don't die if there is no version.py

This commit is contained in:
ander 2020-10-14 02:05:17 +03:00
parent fdc1ab93e9
commit 86057cef19

View file

@ -24,10 +24,13 @@ import os
import hashlib
import cdist.log
try:
import cdist.version
VERSION = cdist.version.VERSION
except ModuleNotFoundError:
VERSION = 'from git'
BANNER = """
.. . .x+=:. s