1. Luke Plant
  2. django-anonymizer

Commits

Luke Plant  committed 06aaac2

Removed debug code

  • Participants
  • Parent commits fe235ea
  • Branches default

Comments (0)

Files changed (1)

File anonymizer/introspect.py

View file
  • Ignore whitespace
 
     field_type = field.get_internal_type()
     if field_type == "CharField" or field_type == "TextField":
-        #from IPython.Shell import IPShellEmbed; IPShellEmbed([])()
-
         # Guess by the name
 
         # First, go for complete match
         r = field_replacers[field_type]
     except KeyError:
         r = "UNKNOWN_FIELD"
-        from IPython.Shell import IPShellEmbed; IPShellEmbed([])()
 
 
     if r is None:
         return None
 
-    #if field.attname == 'youth_work_declined':
-    #    from IPython.Shell import IPShellEmbed; IPShellEmbed([])()
-
-
     return r
 
 def create_anonymizer(model):