Remove unused variable
Variables log_translation, log_translation_info, log_translation_exception, log_translation_LW are no longer used in nova. This patch removes the dead code in nova Change-Id: Ia06904e6915012c52352746d09b93826abd576fb
This commit is contained in:
parent
d147277b8f
commit
0fecc18adf
@ -75,14 +75,6 @@ asse_true_false_with_in_or_not_in_spaces = re.compile(r"assert(True|False)"
|
|||||||
r"[\[|'|\"](, .*)?\)")
|
r"[\[|'|\"](, .*)?\)")
|
||||||
asse_raises_regexp = re.compile(r"assertRaisesRegexp\(")
|
asse_raises_regexp = re.compile(r"assertRaisesRegexp\(")
|
||||||
conf_attribute_set_re = re.compile(r"CONF\.[a-z0-9_.]+\s*=\s*\w")
|
conf_attribute_set_re = re.compile(r"CONF\.[a-z0-9_.]+\s*=\s*\w")
|
||||||
log_translation = re.compile(
|
|
||||||
r"(.)*LOG\.(audit|error|critical)\(\s*('|\")")
|
|
||||||
log_translation_info = re.compile(
|
|
||||||
r"(.)*LOG\.(info)\(\s*(_\(|'|\")")
|
|
||||||
log_translation_exception = re.compile(
|
|
||||||
r"(.)*LOG\.(exception)\(\s*(_\(|'|\")")
|
|
||||||
log_translation_LW = re.compile(
|
|
||||||
r"(.)*LOG\.(warning|warn)\(\s*(_\(|'|\")")
|
|
||||||
translated_log = re.compile(
|
translated_log = re.compile(
|
||||||
r"(.)*LOG\.(audit|error|info|critical|exception)"
|
r"(.)*LOG\.(audit|error|info|critical|exception)"
|
||||||
"\(\s*_\(\s*('|\")")
|
"\(\s*_\(\s*('|\")")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user