projects
/
cdist.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
501b015
)
More python 3 compatibility.
author
jenkins
<jenkins@cs2-23.cs>
Wed, 3 Feb 2016 15:24:05 +0000
(15:24 +0000)
committer
jenkins
<jenkins@cs2-23.cs>
Wed, 3 Feb 2016 15:24:05 +0000
(15:24 +0000)
cdist
patch
|
blob
|
history
diff --git
a/cdist
b/cdist
index 04b62ef68e04e887bdf6c1ee31e0c98c7d3e2d46..bff4528a0556827b9854d21c65baa0d1d73da099 100755
(executable)
--- a/
cdist
+++ b/
cdist
@@
-627,7
+627,7
@@
class Tree(object):
proj = '%s/src/%s' % (target.directory, self.name)
self.cscript = {}
- exec
file('%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");