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

[minion-cvs] Patch from tainaron: Fix crash when directory download ...



Update of /home/minion/cvsroot/src/minion/lib/mixminion/server
In directory moria:/tmp/cvs-serv23100/lib/mixminion/server

Modified Files:
	ServerMain.py 
Log Message:
Patch from tainaron: Fix crash when directory download gives HTTPException.

Index: ServerMain.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/server/ServerMain.py,v
retrieving revision 1.148
retrieving revision 1.149
diff -u -d -r1.148 -r1.149
--- ServerMain.py	9 Aug 2005 16:38:31 -0000	1.148
+++ ServerMain.py	31 Dec 2007 19:38:08 -0000	1.149
@@ -758,7 +758,7 @@
             # Randomly retrieve the directory within an hour after
             # midnight, to avoid hosing the server.
             nextUpdate += prng.getInt(60)*60
-        except mixminion.ClientDirectory.GotInvalidDirectoryError, e:
+        except mixminion.ClientDirectory.DirectoryDownloadError, e:
             LOG.warn(str(e))
             LOG.warn("    I'll try again in an hour.")
             nextUpdate = min(succeedingMidnight(time.time()+30),