[libcxx] r294355 - fix python3 syntax error

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 7 13:21:18 PST 2017


Author: ericwf
Date: Tue Feb  7 15:21:17 2017
New Revision: 294355

URL: http://llvm.org/viewvc/llvm-project?rev=294355&view=rev
Log:
fix python3 syntax error

Modified:
    libcxx/trunk/test/support/filesystem_dynamic_test_helper.py

Modified: libcxx/trunk/test/support/filesystem_dynamic_test_helper.py
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/support/filesystem_dynamic_test_helper.py?rev=294355&r1=294354&r2=294355&view=diff
==============================================================================
--- libcxx/trunk/test/support/filesystem_dynamic_test_helper.py (original)
+++ libcxx/trunk/test/support/filesystem_dynamic_test_helper.py Tue Feb  7 15:21:17 2017
@@ -75,7 +75,7 @@ def create_fifo(source):
 
 
 def create_socket(source):
-    mode = 0600|stat.S_IFSOCK
+    mode = 0o600 | stat.S_IFSOCK
     os.mknod(sanitize(source), mode)
 
 




More information about the cfe-commits mailing list