Santa, thanks for your function. I don't mind if it doesn't return anything.
francisco

Ps: I told you. He's always complaining about everybody's code... 

On Aug 9, 2013, at 6:01 AM, mmerce <notifications@github.com> wrote:

> In bigmler/resources.py:
> 
> > +    """
> > +    # case of adding and removing fields to the dataset preferred field set
> > +    if all([name[0] in ADD_REMOVE_PREFIX for name in user_given_fields]):   
> > +        preferred_fields = fields.preferred_fields()
> > +        input_fields = preferred_fields.keys()
> > +        for name in user_given_fields:
> > +            field_id = fields.field_id(name[1:])
> > +            if name[0] == ADD_PREFIX:
> > +                if not field_id in input_fields:
> > +                    input_fields.append(field_id)
> > +            elif field_id in input_fields:
> > +                input_fields.remove(field_id)
> > +    # case of user given entire list of fields
> > +    else:
> > +        for name in user_given_fields:
> > +            input_fields.append(fields.field_id(name))
> no it doesn't, you're right.
> 
> —
> Reply to this email directly or view it on GitHub.