[Nym3-commit] r446 - trunk/nymbaron/Server

laurent at conuropsis.org laurent at conuropsis.org
Wed Jan 18 11:47:17 CET 2006


Author: laurent
Date: 2006-01-18 11:47:16 +0100 (Wed, 18 Jan 2006)
New Revision: 446

Modified:
   trunk/nymbaron/Server/Main.py
Log:
Bugfix, don't access undeclared `msg' variable.


Modified: trunk/nymbaron/Server/Main.py
===================================================================
--- trunk/nymbaron/Server/Main.py	2005-12-21 20:09:03 UTC (rev 445)
+++ trunk/nymbaron/Server/Main.py	2006-01-18 10:47:16 UTC (rev 446)
@@ -335,7 +335,8 @@
 		"from, or stdin if omitted")
 	(options, args) = parser.parse_args(args[2:])
 	try:
-	    processMessage(readMessage(options.file))
+	    msg = readMessage(options.file)
+	    processMessage(msg)
 	except Exception:#TODO catch a more detailed exception
 	    # see if we got a base64 encoded message.
 	    import base64



More information about the Nym3-commit mailing list