def validate(self, value):
    value = super(StringProperty, self).validate(value)
    if value is not None and not isinstance(value, basestring):
      raise BadValueError(
          'Property %s must be a str or unicode instance, not a %s'
          % (self.name, type(value).__name__))
    if not self.multiline and value and value.find('\n') != -1:
      raise BadValueError('Property %s is not multi-line' % self.name)
    return value
reboot a cloud server
dataset/ETHPy150Open CollabQ/CollabQ/.google_appengine/google/appengine/ext/db/__init__.py/StringProperty.validate--crossover with--dataset/ETHPy150Open nicholaskuechler/autoscale-rackspacecloud-fabric-celery/fabfile.py/_reboot_server