scons: proper fix for hg version stuff
authorNathan Binkert <nate@binkert.org>
Sat, 14 Jun 2008 17:30:18 +0000 (10:30 -0700)
committerNathan Binkert <nate@binkert.org>
Sat, 14 Jun 2008 17:30:18 +0000 (10:30 -0700)
src/python/generate.py

index c32204bc97b878c592c5ee916a0022299655d705..e6c36ecd2581a4e7c0a92cdf60cf6712faa7627e 100644 (file)
@@ -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