[or-cvs] r18176: {weather} If we can't get a lock on the database, we should quit. (weather/trunk)

ioerror at seul.org ioerror at seul.org
Mon Jan 19 04:59:06 UTC 2009


Author: ioerror
Date: 2009-01-18 23:59:06 -0500 (Sun, 18 Jan 2009)
New Revision: 18176

Modified:
   weather/trunk/weather.py
Log:
If we can't get a lock on the database, we should quit.


Modified: weather/trunk/weather.py
===================================================================
--- weather/trunk/weather.py	2009-01-19 04:50:23 UTC (rev 18175)
+++ weather/trunk/weather.py	2009-01-19 04:59:06 UTC (rev 18176)
@@ -60,6 +60,7 @@
 
   except:
     print "Unable to get lock on database"
+    exit()
 
 # these may or may not be better than storing pickles with gdbm
 



More information about the tor-commits mailing list