Revision c3362463 snf-cyclades-app/synnefo/db/fields.py

b/snf-cyclades-app/synnefo/db/fields.py
47 47
            return value
48 48
        return value.split(self.delimiter)
49 49

  
50
    def get_db_prep_value(self, value):
50
    def get_prep_value(self, value):
51 51
        if not value:
52 52
            return
53 53
        assert(isinstance(value, list) or isinstance(value, tuple))
......
55 55

  
56 56
    def value_to_string(self, obj):
57 57
        value = self._get_val_from_obj(obj)
58
        return self.get_db_prep_value(value)
58
        return self.get_prep_value(value)
59 59

  
60 60

  
61 61
add_introspection_rules([

Also available in: Unified diff