Remove obsolete password from qemu.hook

pull/1/head
Peter Šurda 2 years ago
parent 5739ae3560
commit f1a0b9fa22
Signed by: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87
  1. 13
      qemu.hook

@ -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

Loading…
Cancel
Save