From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: David Reyna <david.reyna@windriver.com>,
bitbake-devel@lists.openembedded.org
Subject: Re: [PATCH V2 2/6] toaster: update Toaster for Django 1.11
Date: Mon, 18 Dec 2017 15:08:06 +0000 [thread overview]
Message-ID: <1513609686.16507.44.camel@linuxfoundation.org> (raw)
In-Reply-To: <e0d2ed2f79a7c475fccd2f4f788e8feccd2156bc.1512030424.git.David.Reyna@windriver.com>
On Thu, 2017-11-30 at 00:55 -0800, David Reyna wrote:
> --- a/lib/toaster/toastergui/views.py
> +++ b/lib/toaster/toastergui/views.py
> @@ -277,7 +277,7 @@ def _validate_input(field_input, model):
> return None, invalid + str(field_input_list)
>
> V2 # Check we are looking for a valid field
> - valid_fields = model._meta.get_all_field_names()
> + valid_fields = [f.name for f in model._meta.get_fields()]
> for field in field_input_list[0].split(AND_VALUE_SEPARATOR):
> if True in [field.startswith(x) for x in valid_fields]:
> break
Sorry about the delay with these. Somehow there is a "V2" in the patch
that caused it to fail to apply. I've fixed that up manually and
applied it.
Cheers,
Richard
next prev parent reply other threads:[~2017-12-18 15:08 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-30 8:55 [PATCH V2 0/6] toaster: cummulative 11202017 patch David Reyna
2017-11-30 8:55 ` [PATCH V2 1/6] toaster: unset BBPATH before starting bbserver for backwards compatibility David Reyna
2017-11-30 8:55 ` [PATCH V2 2/6] toaster: update Toaster for Django 1.11 David Reyna
2017-12-18 15:08 ` Richard Purdie [this message]
2017-12-22 6:32 ` Reyna, David
2017-11-30 8:55 ` [PATCH V2 3/6] toaster: some recipe events do not include packages David Reyna
2017-11-30 8:55 ` [PATCH V2 4/6] toaster: enable custom env support for shell calls David Reyna
2017-11-30 8:55 ` [PATCH V2 5/6] toaster: landing page show cmdline capture David Reyna
2017-11-30 8:55 ` [PATCH V2 6/6] toaster: add 'nobuild' option to Toaster David Reyna
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1513609686.16507.44.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=bitbake-devel@lists.openembedded.org \
--cc=david.reyna@windriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.