supress git version print statement to debug
This commit is contained in:
parent
cc7656faa4
commit
5430a0f289
1 changed files with 4 additions and 1 deletions
|
@ -8,6 +8,9 @@ from six.moves.urllib.error import URLError
|
|||
from lbryschema import __version__ as lbryschema_version
|
||||
from lbrynet import build_type, __version__ as lbrynet_version
|
||||
from lbrynet.conf import ROOT_DIR
|
||||
import logging.handlers
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def get_lbrynet_version():
|
||||
|
@ -20,7 +23,7 @@ def get_lbrynet_version():
|
|||
stderr=devnull
|
||||
).decode().strip().lstrip('v')
|
||||
except (subprocess.CalledProcessError, OSError):
|
||||
print("failed to get version from git")
|
||||
log.debug("failed to get version from git")
|
||||
return lbrynet_version
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue