summary refs log tree commit diff stats
path: root/scripts/qtest.py
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2018-12-21 04:35:23 -0500
committerEric Blake <eblake@redhat.com>2019-01-14 10:09:46 -0600
commit58ebcb65d8e38fd693bf1e58dd941a4d7a8dfdef (patch)
tree39a5c1d91842e1febb3dfd43071cdfdc207effb9 /scripts/qtest.py
parent0e2b7f09837f1e2828d428af1e4ebb61e3b3ea5f (diff)
downloadfocaccia-qemu-58ebcb65d8e38fd693bf1e58dd941a4d7a8dfdef.tar.gz
focaccia-qemu-58ebcb65d8e38fd693bf1e58dd941a4d7a8dfdef.zip
iotests.py: don't abort if IMGKEYSECRET is undefined
Instead of using os.environ[], use .get with a default of empty string
to match the setup in check to allow us to import the iotests module
(for debugging, say) without needing a crafted environment just to
import the module.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20181221093529.23855-6-jsnow@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'scripts/qtest.py')
0 files changed, 0 insertions, 0 deletions