[LNT] r255979 - Fix missing logging
Chris Matthews via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 17 18:34:50 PST 2015
Author: cmatthews
Date: Thu Dec 17 20:34:49 2015
New Revision: 255979
URL: http://llvm.org/viewvc/llvm-project?rev=255979&view=rev
Log:
Fix missing logging
Modified:
lnt/trunk/lnt/server/db/rules_manager.py
Modified: lnt/trunk/lnt/server/db/rules_manager.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/db/rules_manager.py?rev=255979&r1=255978&r2=255979&view=diff
==============================================================================
--- lnt/trunk/lnt/server/db/rules_manager.py (original)
+++ lnt/trunk/lnt/server/db/rules_manager.py Thu Dec 17 20:34:49 2015
@@ -2,9 +2,9 @@
Define facilities for automatically applying rules to data.
"""
-import logging
import os
import re
+from lnt.testing.util.commands import note, warning, timed, error
def load_rules():
"""
@@ -31,9 +31,7 @@ def load_rules():
# Ignore non-matching files.
m = rule_script_rex.match(item)
if m is None:
- logger.warning(
- "ignoring item %r in rule directory: %r",
- item, rules_path)
+ warning("ignoring item %r in rule directory: %r", item, rules_path)
continue
name = m.groups()[0]
More information about the llvm-commits
mailing list