No need set initial value to tag and dependencies in wait handler

Both tag and dependencies are set directly by calling private method
_get_deps_and_tag. There is no need to set initial value for them
separately.

Signed-off-by: Chenxiong Qi <cqi@redhat.com>
This commit is contained in:
Chenxiong Qi
2018-11-07 17:09:16 +08:00
parent 8356848bec
commit bc682ff15d

View File

@@ -206,9 +206,6 @@ def wait(config, session, msg):
# This is ok.. it's a race condition we can ignore.
pass
tag = None
dependencies = []
resolver = module_build_service.resolver.system_resolver
@module_build_service.utils.retry(