Fix typo in soc.logic.cleaning module (site_logic.logic was called instead of just site_logic).
authorPawel Solyga <Pawel.Solyga@gmail.com>
Mon, 09 Mar 2009 01:11:33 +0000
changeset 1773 ad930f979ed9
parent 1772 1ba548e57ab2
child 1774 e8282d27eef8
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
app/soc/logic/cleaning.py
--- 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*