On Tuesday 12 July 2016 10:23:53 Jeff Epler wrote:
> andy,
>
> try putting a commented-out [HALUI] section in a file that doesn't
> otherwise have one..
>
> #[HALUI]
> #oops = true
>
And I have 2 such entries, the first one with a # in front of it.
> I think this reproduces gene's reported error.
>
> I made this educated guess because 'copysection' doesn't anchor its
> search for the section to the beginning of a line
>
> def copysection(block):
> #Just makes a straight copy of blocks that don't need any work
> regex = "\[%s\](.+?)(?:\n\[|$)" % block
>
> while all_sections does:
>
> all_sections = re.findall("^\[(.+)\]", inistring, re.MULTILINE)
>
> The code in copysection may also misbehave if there's a [ inside a
> value:
>
> THINGS_I_LIKE = [HALUI]
>
> Jeff
>
> ----------------------------------------------------------------------
>-------- What NetFlow Analyzer can do for you? Monitors network
> bandwidth and traffic patterns at an interface-level. Reveals which
> users, apps, and protocols are consuming the most bandwidth. Provides
> multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make
> informed decisions using capacity planning
> reports.http://sdm.link/zohodev2dev
> _______________________________________________
> Emc-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-developers
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers