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:
Luong Anh Tuan 2017-06-12 18:13:40 +07:00
parent d147277b8f
commit 0fecc18adf
1 changed files with 0 additions and 8 deletions

View File

@ -75,14 +75,6 @@ asse_true_false_with_in_or_not_in_spaces = re.compile(r"assert(True|False)"
r"[\[|'|\"](, .*)?\)")
asse_raises_regexp = re.compile(r"assertRaisesRegexp\(")
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(
r"(.)*LOG\.(audit|error|info|critical|exception)"
"\(\s*_\(\s*('|\")")