Re: Changing quixote.get_field?
Robert Ladyman <[email protected]> Mon, 19 Nov 2012 09:14:10 +0000
| Newsgroups | gmane.comp.web.quixote.user |
|---|---|
| Organization | File-Away Limited |
| Message-ID | <[email protected]> |
> On 2012-11-12, Robert Ladyman wrote: > > I'd prefer either another function or an additional parameter to > > get_field() / setting somewhere - I've built other code around its > > current behaviour. > > Anyone object to calling it get_param()? It's implementation would > be the same as get_field() but instead of returning a list, it would > return the last item in the list. IOW, always return either a > string value or the 'default' value. > > Neil > No problem with that name here. -- Robert Ladyman File-Away Limited 3 Ralston Business Centre, Newtyle, Blairgowrie Perthshire PH12 8TL SCOTLAND Tel: +44 (0) 1828 898 158 Mobile: +44 (0) 7732 771 649 http://www.file-away.co.uk ============================================ Registered Office: 32 Church Street, Newtyle, Blairgowrie Perthshire, PH12 8TZ SCOTLAND Registered in Scotland, Company Number SC222086