[LNT] r255947 - A handy debugging representation for Database configs

Chris Matthews via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 17 17:10:35 PST 2015


Author: cmatthews
Date: Thu Dec 17 19:10:35 2015
New Revision: 255947

URL: http://llvm.org/viewvc/llvm-project?rev=255947&view=rev
Log:
A handy debugging representation for Database configs

Modified:
    lnt/trunk/lnt/server/config.py

Modified: lnt/trunk/lnt/server/config.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/config.py?rev=255947&r1=255946&r2=255947&view=diff
==============================================================================
--- lnt/trunk/lnt/server/config.py (original)
+++ lnt/trunk/lnt/server/config.py Thu Dec 17 19:10:35 2015
@@ -80,6 +80,9 @@ class DBInfo:
         self.shadow_import = shadow_import
         self.email_config = email_config
         self.baseline_revision = baseline_revision
+        
+    def __str__(self):
+        return "DBInfo(" + self.path + ")"
 
 class Config:
     @staticmethod




More information about the llvm-commits mailing list