[zorg] r311134 - Lines should always be a set

Chris Matthews via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 17 15:46:18 PDT 2017


Author: cmatthews
Date: Thu Aug 17 15:46:18 2017
New Revision: 311134

URL: http://llvm.org/viewvc/llvm-project?rev=311134&view=rev
Log:
Lines should always be a set

In the default case, lines was not a set. Oops!

Modified:
    zorg/trunk/llvm-lnt/fabfile.py

Modified: zorg/trunk/llvm-lnt/fabfile.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/llvm-lnt/fabfile.py?rev=311134&r1=311133&r2=311134&view=diff
==============================================================================
--- zorg/trunk/llvm-lnt/fabfile.py (original)
+++ zorg/trunk/llvm-lnt/fabfile.py Thu Aug 17 15:46:18 2017
@@ -72,7 +72,7 @@ def new_log():
     if os.path.exists("lnt.log"):
         lines = {line for line in open("lnt.log", 'r').readlines()}
     else:
-        lines = {}
+        lines = set()
     with hide('warnings'):
         get('/srv/lnt/install/lnt.log', 'lnt.log', )
     new_lines = {line for line in open("lnt.log", 'r').readlines()}




More information about the llvm-commits mailing list