summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjenkins <jenkins@cs2-23.cs>2016-02-03 15:24:05 +0000
committerjenkins <jenkins@cs2-23.cs>2016-02-03 15:24:05 +0000
commit6dc47990a515f23cd6b43c20104238f53e8d08bc (patch)
tree6043c9c3e2ce2762cf2d666da7e74909e69e6496
parent501b015c76b12ff180b97d73fb1946bb041cd1d2 (diff)
More python 3 compatibility.
-rwxr-xr-xcdist2
1 files changed, 1 insertions, 1 deletions
diff --git a/cdist b/cdist
index 04b62ef..bff4528 100755
--- a/cdist
+++ b/cdist
@@ -627,7 +627,7 @@ class Tree(object):
proj = '%s/src/%s' % (target.directory, self.name)
self.cscript = {}
- execfile('%s/cscript' % proj, self.cscript)
+ exec(open('%s/cscript' % proj).read(), self.cscript)
if os.path.exists('%s/wscript' % proj):
v = read_wscript_variable(proj, "VERSION");