[PATCH] D67816: [LNT] Python 3 support: use int() instead of long()

Thomas Preud'homme via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 25 00:51:36 PDT 2019


This revision was automatically updated to reflect the committed changes.
thopre marked an inline comment as done.
Closed by commit rL372820: [LNT] Python 3 support: use int() instead of long() (authored by thopre, committed by ).
Herald added a project: LLVM.

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67816/new/

https://reviews.llvm.org/D67816

Files:
  lnt/trunk/lnt/tests/compile.py


Index: lnt/trunk/lnt/tests/compile.py
===================================================================
--- lnt/trunk/lnt/tests/compile.py
+++ lnt/trunk/lnt/tests/compile.py
@@ -529,7 +529,7 @@
                            " ".join("'%s'" % arg for arg in cmd))
             result = subprocess.check_output(cmd).strip()
             if result != "fail":
-                bytes = long(result)
+                bytes = int(result)
                 success = True
 
                 # For now, the way the software is set up things are going to


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67816.221682.patch
Type: text/x-patch
Size: 544 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190925/26038cbe/attachment.bin>


More information about the llvm-commits mailing list