From 76923a682e4ad8db28f6f9ea76a903a2c6382f1e Mon Sep 17 00:00:00 2001 From: lars Date: Sat, 8 May 2010 15:37:17 +0000 Subject: [PATCH] remove debug statements --- wortschlucker/src/wortschlucker.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/wortschlucker/src/wortschlucker.py b/wortschlucker/src/wortschlucker.py index eafef74..97d25b3 100755 --- a/wortschlucker/src/wortschlucker.py +++ b/wortschlucker/src/wortschlucker.py @@ -430,12 +430,6 @@ def admin_poll(cancel=False, submit=None, admin_hash_key=None, author=None, title=None, description=None, settings=None, setting_expose_date=None, setting_expose_date_forever=None, setting_close_date=None, setting_close_date_forever=None): - print "Eingaben" - for value in (cancel, submit, admin_hash_key, author, - title, description, settings, - setting_expose_date, setting_expose_date_forever, - setting_close_date, setting_close_date_forever): - print value value_dict = get_default_values() data = {"author": author, "title": title, "description": description, "template": ""} poll_id = get_poll_admin_id(admin_hash_key) @@ -491,9 +485,6 @@ def admin_poll(cancel=False, submit=None, admin_hash_key=None, author=None, data["setting_%s" % key] = value else: data["setting_%s" % key] = get_poll_setting_string(key, validated_value) - print "Vor Kontrolle:" - for key, value in data.items(): - print " %s: %s" % (key, value) # use the validator to check for possible errors if submit: # check for errors only if the content is submitted (not just rendered) @@ -501,9 +492,6 @@ def admin_poll(cancel=False, submit=None, admin_hash_key=None, author=None, data = forms.PollSettingsForm.to_python(data) except formencode.Invalid, errors_packed: errors = errors_packed.unpack_errors() - print "Nach Kontrolle:" - for key, value in data.items(): - print " %s: %s" % (key, value) # store the new settings if errors: value_dict["errors"] = errors