Skip to content
Snippets Groups Projects
Commit f1277743 authored by Nick Curtis's avatar Nick Curtis
Browse files

fix for py2.6

parent 7801b4f4
No related branches found
No related tags found
1 merge request!108C execution
......@@ -212,8 +212,8 @@ class CCompiler(object):
'library_dirs': library_dirs,
'defines': defines}
# filter empty and those equal to toolchain defaults
diff = {k: v for k, v in six.iteritems(diff) if v and
getattr(self.toolchain, k) != v}
diff = dict((k, v) for k, v in six.iteritems(diff) if v and
getattr(self.toolchain, k) != v)
self.toolchain = self.toolchain.copy(**diff)
self.tempdir = tempfile.mkdtemp(prefix="tmp_loopy")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment