[Synopsis-changes] Synopsis/Synopsis/Synopsis Processor.py,1.8,1.9

Stefan Seefeld stefan at synopsis.fresco.org
Fri Nov 21 21:17:00 UTC 2003


Update of /cvs/synopsis/Synopsis/Synopsis
In directory frida:/tmp/cvs-serv26065/Synopsis

Modified Files:
	Processor.py 
Log Message:
fix Store processor

Index: Processor.py
===================================================================
RCS file: /cvs/synopsis/Synopsis/Synopsis/Processor.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -d -r1.8 -r1.9
--- Processor.py	20 Nov 2003 04:45:15 -0000	1.8
+++ Processor.py	21 Nov 2003 21:16:55 -0000	1.9
@@ -161,10 +161,9 @@ class Store(Processor):
    """Store is a convenience class useful to write out the intermediate
    state of the ast within a pipeline such as represented by the 'Composite'"""
 
-   output = Parameter('', 'the output filename')
-
    def process(self, ast, **kwds):
       """Simply store the current ast in the 'output' file."""
 
-      self.__dict__.update(kwds)
-      return self.output_and_return()
+      self.set_parameters(kwds)
+      self.ast = self.merge_input(ast)
+      return self.output_and_return_ast()





More information about the Synopsis-changes mailing list