summaryrefslogtreecommitdiff
path: root/src/python
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2008-06-14 10:30:18 -0700
committerNathan Binkert <nate@binkert.org>2008-06-14 10:30:18 -0700
commit2d037682ff800fa44e715250b07d708bbf4bde91 (patch)
tree93e1fec51a0320f324b8d207b151137d4a8673c8 /src/python
parentfe4fd9f4146684a649131d09bbf85ecb96ef4ba7 (diff)
downloadgem5-2d037682ff800fa44e715250b07d708bbf4bde91.tar.xz
scons: proper fix for hg version stuff
Diffstat (limited to 'src/python')
-rw-r--r--src/python/generate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/generate.py b/src/python/generate.py
index c32204bc9..e6c36ecd2 100644
--- a/src/python/generate.py
+++ b/src/python/generate.py
@@ -535,7 +535,7 @@ extern const Flags *compoundFlags[];
pi_stats.close()
target = str(target[0])
- scons_dir = str(source[0])
+ scons_dir = str(source[0].get_contents())
try:
import mercurial.demandimport, mercurial.hg, mercurial.ui
import mercurial.util, mercurial.node