Creates a single-value condition with the provided value and operator.

def _CreateSingleValueCondition(self, value, operator):
    """Creates a single-value condition with the provided value and operator."""
    if isinstance(value, str) or isinstance(value, unicode):
      value = '"%s"' % value
    return '%s %s %s' % (self._field, operator, value)