--- a/app/soc/modules/ghop/logic/cleaning.py Tue Sep 08 21:30:32 2009 +0200
+++ b/app/soc/modules/ghop/logic/cleaning.py Wed Sep 09 20:15:53 2009 +0200
@@ -26,6 +26,8 @@
from django.utils.translation import ugettext
from soc.logic import cleaning
+from soc.logic import validate
+
def cleanTaskComment(comment_field, action_field, ws_field):
"""Cleans the comment form and checks to see if there is either
@@ -63,7 +65,7 @@
"""Clean method to check and validate list of mentor's link_ids.
"""
- @check_field_is_empty(field_name)
+ @cleaning.check_field_is_empty(field_name)
def wrapper(self):
"""Decorator wrapped method.
"""