[tor-commits] [torbel/master] Fix bulklist error when no ip is given
sebastian at torproject.org
sebastian at torproject.org
Sun Sep 4 07:57:24 UTC 2011
commit 1097384c848d4fbfc2539df4b15df1bc7c7d98d6
Author: Sebastian Hahn <sebastian at torproject.org>
Date: Sun Sep 4 09:56:44 2011 +0200
Fix bulklist error when no ip is given
---
bulklist.fcgi | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bulklist.fcgi b/bulklist.fcgi
index 5b1913a..1e28f01 100755
--- a/bulklist.fcgi
+++ b/bulklist.fcgi
@@ -49,7 +49,7 @@ def app(environ, start_response):
if ip != "":
try:
- ip = query.ip_from_string(ip)
+ ip = query.ip_from_string(ip)
except socket.error:
ip = 0
@@ -85,7 +85,7 @@ def app(environ, start_response):
yield '<body>\n'
yield '<center>\n'
yield '\n'
- yield '<br>\n');
+ yield '<br>\n'
yield '\n'
More information about the tor-commits
mailing list