Commits

Andriy Kornatskyy committed 5517c55

Eliminated debug prints.

Comments (0)

Files changed (1)

src/wheezy/captcha/http.py

             context = self.cache_factory()
             try:
                 cache = context.__enter__()
-                print(challenge_code)
                 if not cache.set(self.prefix + challenge_code,
                                  (int(time()), turing_number),
                                  self.timeout, self.namespace):
             return False
         form = last_item_adapter(request.form)
         challenge_code = form[self.challenge_key]
-        print(challenge_code)
         if len(challenge_code) != 22:
             self.append_error(errors, self._(
                 'The challenge code is invalid.'))
         context = self.cache_factory()
         try:
             cache = context.__enter__()
-            print(key)
             data = cache.get(key, self.namespace)
-            print(data)
             if not data:
                 self.append_error(errors, self._(
                     'The code you typed has expired after %d seconds.')