c_ext/c_ext.py
changeset 1740 b789b695b5c6
parent 1736 7e61baa047f0
child 1853 47a3f39bead0
--- a/c_ext/c_ext.py	Tue Aug 15 12:17:51 2017 +0300
+++ b/c_ext/c_ext.py	Tue Aug 15 15:50:30 2017 +0300
@@ -119,10 +119,10 @@
         text += "\n}\n\n"
 
         Gen_Cfile_path = os.path.join(buildpath, "CFile_%s.c" % location_str)
-        cfile = open(Gen_Cfile_path,'w')
+        cfile = open(Gen_Cfile_path, 'w')
         cfile.write(text)
         cfile.close()
 
         matiec_CFLAGS = '"-I%s"' % os.path.abspath(self.GetCTRoot().GetIECLibPath())
 
-        return [(Gen_Cfile_path, str(self.CExtension.getCFLAGS() + matiec_CFLAGS))],str(self.CExtension.getLDFLAGS()),True
+        return [(Gen_Cfile_path, str(self.CExtension.getCFLAGS() + matiec_CFLAGS))], str(self.CExtension.getLDFLAGS()), True