[Synopsis-changes] Synopsis/Synopsis/Synopsis Processor.py,1.8,1.9
Stefan Seefeld stefan at synopsis.fresco.orgFri Nov 21 21:17:00 UTC 2003
- Previous message: [Synopsis-changes] Synopsis/Synopsis/Synopsis/Parsers/Python Parser.py,1.5,1.6 __init__.py,1.6,1.7 python.py,1.26,1.27
- Next message: [Synopsis-changes] Synopsis/Synopsis/Synopsis/Formatters Dump.py,1.4,1.5
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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()
- Previous message: [Synopsis-changes] Synopsis/Synopsis/Synopsis/Parsers/Python Parser.py,1.5,1.6 __init__.py,1.6,1.7 python.py,1.26,1.27
- Next message: [Synopsis-changes] Synopsis/Synopsis/Synopsis/Formatters Dump.py,1.4,1.5
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Synopsis-changes mailing list