Enable F841
F841 detects local variable is assigned to but never used. This commit fixes the violations and enables F841 in gate. Change-Id: Ic4dcac2733dfe334009327ac17aa3952cafaa63a
This commit is contained in:
@@ -434,7 +434,7 @@ class OpenStackImagesShell(object):
|
||||
|
||||
with open(schema_file_path, 'w') as f:
|
||||
f.write(json.dumps(schema.raw()))
|
||||
except Exception as e:
|
||||
except Exception:
|
||||
#NOTE(esheffield) do nothing here, we'll get a message later
|
||||
#if the schema is missing
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user