some work on statistic code
diff --git a/wally/openstack.py b/wally/openstack.py
index 264cfbb..8aa9913 100644
--- a/wally/openstack.py
+++ b/wally/openstack.py
@@ -35,8 +35,9 @@
def get_OS_credentials(ctx: TestRun) -> OSCreds:
- if "openstack_openrc" in ctx.storage:
- return OSCreds(*cast(List, ctx.storage.get("openstack_openrc")))
+ stored = ctx.storage.get("openstack_openrc", None)
+ if stored is not None:
+ return OSCreds(*cast(List, stored))
creds = None # type: OSCreds
os_creds = None # type: OSCreds