Internals: Fix pylint warning
This commit is contained in:
parent
4ae80f9a9f
commit
1a1c5c5d44
|
@ -31,7 +31,7 @@ def get_vlt_version():
|
|||
if match:
|
||||
try:
|
||||
data = os.popen('git log -n 1 --pretty=%cs').read()
|
||||
except Exception:
|
||||
except Exception: # pylint: disable=broad-except
|
||||
data = "" # fallback, and Sphinx will fill in today's date
|
||||
return "Devel " + match.group(1), data
|
||||
return "unknown", "unknown"
|
||||
|
|
Loading…
Reference in New Issue