[LNT] r255980 - Annnnd one more fix for bad logging

Chris Matthews via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 17 18:57:40 PST 2015


Author: cmatthews
Date: Thu Dec 17 20:57:40 2015
New Revision: 255980

URL: http://llvm.org/viewvc/llvm-project?rev=255980&view=rev
Log:
Annnnd one more fix for bad 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=255980&r1=255979&r2=255980&view=diff
==============================================================================
--- lnt/trunk/lnt/server/db/rules_manager.py (original)
+++ lnt/trunk/lnt/server/db/rules_manager.py Thu Dec 17 20:57:40 2015
@@ -31,7 +31,7 @@ def load_rules():
         # Ignore non-matching files.
         m = rule_script_rex.match(item)
         if m is None:
-            warning("ignoring item %r in rule  directory: %r", item, rules_path)
+            warning("ignoring item {} in rule  directory: {}".format(item, rules_path))
             continue
 
         name = m.groups()[0]




More information about the llvm-commits mailing list