[or-cvs] r12601: Fix a conditional (tor/trunk/contrib/auto-naming)

weasel at seul.org weasel at seul.org
Thu Nov 29 11:22:20 UTC 2007


Author: weasel
Date: 2007-11-29 06:22:19 -0500 (Thu, 29 Nov 2007)
New Revision: 12601

Modified:
   tor/trunk/contrib/auto-naming/update-named-status.rb
Log:
Fix a conditional

Modified: tor/trunk/contrib/auto-naming/update-named-status.rb
===================================================================
--- tor/trunk/contrib/auto-naming/update-named-status.rb	2007-11-29 11:20:26 UTC (rev 12600)
+++ tor/trunk/contrib/auto-naming/update-named-status.rb	2007-11-29 11:22:19 UTC (rev 12601)
@@ -29,7 +29,7 @@
 
 def do_update(verbose)
 	now = $db.query_row("SELECT max(last_seen) AS max FROM router_claims_nickname")['max']
-	unless now == ''
+	unless now
 		STDERR.puts "Could not find the latest last_seen timestamp.  Is the database empty still?"
 		return
 	end



More information about the tor-commits mailing list