Adding support for modification in CanFestival eds_utils
authorlbessard
Wed, 25 Jun 2008 17:32:53 +0200
changeset 172 8eefeccbd021
parent 171 d02b27b6c36a
child 173 2a9c4eec8645
Adding support for modification in CanFestival eds_utils
plugins/canfestival/canfestival.py
--- a/plugins/canfestival/canfestival.py	Wed Jun 25 17:11:47 2008 +0200
+++ b/plugins/canfestival/canfestival.py	Wed Jun 25 17:32:53 2008 +0200
@@ -127,7 +127,9 @@
         res = gen_cfile.GenerateFile(Gen_OD_path, slave, pointers)
         if res :
             raise Exception, res
-        self.ExportCurrentToEDSFile(os.path.join(buildpath, "Slave_%s.eds"%prefix))
+        res = eds_utils.GenerateEDSFile(os.path.join(buildpath, "Slave_%s.eds"%prefix), slave)
+        if res :
+            raise Exception, res
         return [(Gen_OD_path,canfestival_config.getCFLAGS(CanFestivalPath))],"",False
 
 #--------------------------------------------------