Whitespace doesn't matter. The parser does a .strip() to every line before parsing.
On Thu, Nov 12, 2020 at 6:50 PM vince <[email protected]> wrote: > I saw a report today claiming that it is possible to confuse the configobj > parsing of weewx.conf if the user has strange indentations or combinations > of tabs+spaces etc. > > This doesn't match my recollection. I thought that for weewx purposes > that the basic config parser just needs the right hierchy of bracketed > sections and subsections, and how the user does whitespace or indenting > doesn't matter at all. > > Are there any known limitations or bugs related to the config parser > getting confused if the user has oddly formatted multi-level > sections+subsections in weewx.conf ? > > -- > You received this message because you are subscribed to the Google Groups > "weewx-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/7341b0e7-ca6f-4904-a309-bca30a6467e0n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/7341b0e7-ca6f-4904-a309-bca30a6467e0n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEDP1fdhEej1mHnwVmkSk8K8v36yv93zAoDyAg9MZeybzQ%40mail.gmail.com.
