[llvm-commits] [LNT] r166861 - /lnt/trunk/lnt/formats/__init__.py

Michael Gottesman mgottesman at apple.com
Fri Oct 26 20:01:23 PDT 2012


Author: mgottesman
Date: Fri Oct 26 22:01:23 2012
New Revision: 166861

URL: http://llvm.org/viewvc/llvm-project?rev=166861&view=rev
Log:
Fixed a bug in lnt/format/__init__.py where an error message was referencing the wrong variable name.

Modified:
    lnt/trunk/lnt/formats/__init__.py

Modified: lnt/trunk/lnt/formats/__init__.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/formats/__init__.py?rev=166861&r1=166860&r2=166861&view=diff
==============================================================================
--- lnt/trunk/lnt/formats/__init__.py (original)
+++ lnt/trunk/lnt/formats/__init__.py Fri Oct 26 22:01:23 2012
@@ -75,7 +75,7 @@
     else:
         f = get_format(format_name)
         if f is None or not f.get('read'):
-            raise SystemExit("unknown input format: %r" % inFormat)
+            raise SystemExit("unknown input format: %r" % format_name)
 
     return f['read'](path_or_file)
 





More information about the llvm-commits mailing list