[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[minion-cvs] Give correct error on missing server config



Update of /home/minion/cvsroot/src/minion/lib/mixminion/server
In directory moria.mit.edu:/tmp/cvs-serv990/lib/mixminion/server

Modified Files:
	ServerMain.py 
Log Message:
Give correct error on missing server config

Index: ServerMain.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/server/ServerMain.py,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -d -r1.75 -r1.76
--- ServerMain.py	6 Jun 2003 06:08:40 -0000	1.75
+++ ServerMain.py	6 Jun 2003 06:12:54 -0000	1.76
@@ -990,7 +990,7 @@
             p = os.path.expanduser(p)
             if os.path.exists(p):
                 configFile = p
-        if not p:
+        if configFile is None:
             print >>sys.stderr, "No config file found or specified."
             sys.exit(1)