[Synopsis-changes] Synopsis/Synopsis/Synopsis process.py,1.3,1.4

Stefan Seefeld stefan at synopsis.fresco.org
Sat Nov 22 21:44:08 UTC 2003


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

Modified Files:
	process.py 
Log Message:
always pass 'input' if defined

Index: process.py
===================================================================
RCS file: /cvs/synopsis/Synopsis/Synopsis/process.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -d -r1.3 -r1.4
--- process.py	11 Nov 2003 06:17:57 -0000	1.3
+++ process.py	22 Nov 2003 21:44:06 -0000	1.4
@@ -85,10 +85,8 @@ to pass this as a string, please use %s=
             props[name] = None
       args = args[1:]
 
-   # remaining arguments are mapped to the 'input' value,
-   # if that is not yet defined
-   if args and 'input' not in props:
-      props['input'] = args
+   # remaining arguments are mapped to the 'input' value
+   if args: props['input'] = args
 
    if command in commands:
       ast = AST.AST()





More information about the Synopsis-changes mailing list