Skip to content
Unstable

Changes

Summary

  1. testenv: fix missing hasattr check (details)
Commit bfa3980386351dc1552d032781a0e2bd2edc5c0e by Oliver Smith
testenv: fix missing hasattr check

Fix that commands without a --distro argument ("./testenv.py init osmo-dev"
and "./testenv.py clean") fail with:

  AttributeError: 'Namespace' object has no attribute 'distro'

Fixes: 8d21add6 ("testenv: check for --distro without --podman")
Change-Id: I138fda5f5807588428bba4eb1593b887fe7357c9
The file was modified_testenv/testenv/__init__.py