Commit 170a4521 authored by Matias Guijarro's avatar Matias Guijarro

settings: parameters: make sure name_backup exists for finally clause

# Conflicts:
#	bliss/config/settings.py
parent a1b875ac
Pipeline #11502 passed with stages
in 36 minutes and 2 seconds
......@@ -1502,8 +1502,8 @@ class ParametersWardrobe(metaclass=ParametersType):
"""
Retrieve a single instance of parameters from redis
"""
name_backup = self._proxy._name
try:
name_backup = self._proxy._name
if name in self.instances:
self._proxy._name = self._hash(name)
results = self._proxy.get_all()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment