On 28 Aug 14:59, Daniel Axtens wrote:
> >>  PYTHONPATH="$PATCHWORK_BASE":"$PATCHWORK_BASE/lib/python:$PYTHONPATH" \
> >>          DJANGO_SETTINGS_MODULE=patchwork.settings.production \
> >> -        "$PATCHWORK_BASE/patchwork/bin/parsemail.py"
> >> +        "$PATCHWORK_BASE/patchwork/manage.py parsemail"
> >>
> >> +# NOTE(stephenfin): We must return 0 here. For more information, refer
> >> +# to https://patchwork.ozlabs.org/patch/602248/
> >>  exit 0
> >
> > This makes sense, but I'm still confused why you don't pass $* to the 
> > command since it can take "--list-id" as an option?

True that. $@ looks like the correct option though, per StackOverflow?
[1].

> Yep - I had added $@ to my invocation, which I think does something
> similar.
> 
> Regards,
> Daniel

I'll do this a v3 so :)

Stephen

[1] http://superuser.com/a/247131
_______________________________________________
Patchwork mailing list
[email protected]
https://lists.ozlabs.org/listinfo/patchwork

Reply via email to