Commits

Alex Burgel committed ff80231

remove debug logging

Comments (0)

Files changed (3)

     DEFAULT_MAX_DIGITS = 16
 
     def value_to_db_auto(self, value):
-        logging.info("value_to_db_auto: %s %s" % (value, type(value)))
         if isinstance(value, Key):
             return value
         return super(DatabaseOperations, self).value_to_db_auto(value)
 import cPickle as pickle
 
 import decimal
-import logging
 
 # Valid query types (a dictionary is used for speedy lookups).
 OPERATORS_MAP = {
     # This function is used by the default add_filters() implementation
     @safe_call
     def add_filter(self, column, lookup_type, negated, db_type, value):
-        logging.info("add_filter: %s %s %s %s %s %s" % (column, lookup_type, negated, db_type, value, type(value)))
-
         if value in ([], ()):
             self.pk_filters = []
             return
     query_class = GAEQuery
 
     def convert_value_from_db(self, db_type, value):
-        logging.info("convert_value_from_db %s %s %s" % (db_type, value, type(value)))
-
         if isinstance(value, (list, tuple, set)) and \
                 db_type.startswith(('ListField:', 'SetField:')):
             db_sub_type = db_type.split(':', 1)[1]
         return value
 
     def convert_value_for_db(self, db_type, value):
-        logging.info("convert_value_for_db %s %s %s" % (db_type, value, type(value)))
-
         if isinstance(value, unicode):
             value = unicode(value)
         elif isinstance(value, str):
 from django.db import models
 from google.appengine.api.datastore import Key
-import logging
 
 class GAEKeyField(models.AutoField):
     description = "A field for Google AppEngine Key objects"
         return self.get_internal_type()
 
     def to_python(self, value):
-        logging.info("to python value: %s %s" % (value, type(value)))
         if isinstance(value, Key):
             return value
         if value is None or len(value) < 1:
         return Key(value)
 
     def get_prep_value(self, value):
-        logging.info("prep value: %s %s" % (value, type(value)))
-        
         if isinstance(value, Key):
             return value
 
     def get_db_prep_lookup(self, lookup_type, value, connection, prepared=False):
         if not prepared:
             value = self.get_prep_lookup(lookup_type, value)
-        
+ 
         return value