Fix typo in soc.logic.cleaning module (site_logic.logic was called instead of just site_logic).
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
--- a/app/soc/logic/cleaning.py Mon Mar 09 00:53:07 2009 +0000
+++ b/app/soc/logic/cleaning.py Mon Mar 09 01:11:33 2009 +0000
@@ -137,7 +137,7 @@
"""
agrees_to_tos = self.cleaned_data.get(field_name)
- if not site_logic.getToS(site_logic.logic.getSingleton()):
+ if not site_logic.getToS(site_logic.getSingleton()):
return agrees_to_tos
# Site settings specify a site-wide ToS, so agreement is *required*