[tor-commits] [bridgedb/develop] Fix old-style class bridgedb.captcha.Raptcha.

isis at torproject.org isis at torproject.org
Sun Mar 16 16:38:45 UTC 2014


commit be44ad36b147e54e5b843568dd9fd050c547d98e
Author: Isis Lovecruft <isis at torproject.org>
Date:   Fri Feb 28 01:08:28 2014 +0000

    Fix old-style class bridgedb.captcha.Raptcha.
---
 lib/bridgedb/captcha.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bridgedb/captcha.py b/lib/bridgedb/captcha.py
index e6533d8..0d3bf35 100644
--- a/lib/bridgedb/captcha.py
+++ b/lib/bridgedb/captcha.py
@@ -38,7 +38,7 @@ from BeautifulSoup import BeautifulSoup
 from recaptcha.client import captcha as recaptcha
 
 
-class Raptcha():
+class Raptcha(object):
     """ A recaptcha captcha and method to request them """
 
     def __init__(self, pubkey=None, privkey=None):





More information about the tor-commits mailing list