Maybe I am an old chap. If I do not like a function in an API, I just
create a wrapper and use my own wrapper in my code. In an object oriented
environment it is even simpler, I can create my own class that extends the
original and changes any behavior I need to behave differently. I am not
literate in python, so unfortunately cannot provide an example, but it
should be straight forward.

Even a switch to owfs can cause trouble, as then there will be components
that need owfs be running with --trim, and other components that need owfs
without --trim. To use both kinds of components in a solution, you will
need ownet and two owfs instances just to avoid trimming in the code.

Vajk


On Tue, Mar 18, 2014 at 9:06 AM, Markus Gaugusch <mar...@gaugusch.at> wrote:

> Hi,
>
> I also think, that something like that would be a nice solution. Possibly,
> you could even change the default and offer --pretty or --no-trim to
> restore the old behaviour.
>
> I think the default should be without spaces, but we should not forget
> about legacy applications, of course.
>
> br,
> Markus
>
> On Mar 18, Paul Alfille <paul.alfi...@gmail.com> wrote:
>
>  Why is  command line argument (--trim) a bad idea?
>>
>>
>> On Mon, Mar 17, 2014 at 8:38 PM, Michael Markstaller <m...@elabnet.de>
>> wrote:
>>       Hmm, if you get "null", is this different from a bunch of spaces
>> with no
>>       value?
>>       Either fully or not, a switch is another bad workaround..
>>
>>       My other 2 cents..
>>
>>       Michael
>>
>>       On 17.03.2014 22:29, brucek wrote:
>>       > OK, my 2 cents worth:
>>       > I use the returned length to determine if I have had a valid read
>> or
>>       > not...so I would not like it to change.
>>       >
>>       > How about a startup switch?
>>       > Bruce
>>
>> ------------------------------------------------------------
>> ------------------
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and their
>> applications. Written by three acclaimed leaders in the field,
>> this first edition is now available. Download your free book today!
>> http://p.sf.net/sfu/13534_NeoTech
>> _______________________________________________
>> Owfs-developers mailing list
>> Owfs-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>
>>
>>
>>
>>
> --
> __________________    /"\
> Markus Gaugusch       \ /    ASCII Ribbon Campaign
> markus(at)gaugusch.at  X     Against HTML Mail
>                       / \
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
>
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to