Remove obsolete password from qemu.hook

This commit is contained in:
Peter Šurda 2021-02-11 10:47:32 +01:00
parent 5739ae3560
commit f1a0b9fa22
Signed by untrusted user: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -146,19 +146,6 @@ def cleanup_files():
pass
def get_buildbot_password():
"""
Retrieve buildbot password for guest
"""
fname = '/etc/libvirt/buildbot.pwd'
with open(fname) as file_handle:
content = [line.rstrip('\n') for line in file_handle]
try:
return content[0]
except (TypeError, IndexError):
return "password"
if __name__ == "__main__":
try:
# pylint: disable=unbalanced-tuple-unpacking