[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[minion-cvs] Fix bug on errors during import



Update of /home/minion/cvsroot/src/minion/lib/mixminion
In directory moria.seul.org:/tmp/cvs-serv24734/lib/mixminion

Modified Files:
	Main.py 
Log Message:
Fix bug on errors during import

Index: Main.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/Main.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- Main.py	22 Nov 2002 00:26:35 -0000	1.8
+++ Main.py	22 Nov 2002 21:01:49 -0000	1.9
@@ -83,8 +83,8 @@
         # We use __import__ here instead of 'import' so that we can stay
         #   parseable by Python 1.1.  You're welcome.
 	__import__('mixminion.Main')
-    except ImportError, _:
-	sys.stderr.write(_+"\n")
+    except ImportError, e:
+	sys.stderr.write(str(e)+"\n")
 	sys.stderr.write("Unable to find correct path for mixminion.\n")
 	sys.exit(1)