Ollie Lho <[EMAIL PROTECTED]> writes:

> "Eric W. Biederman" wrote:
> > 
> > O.k.  I think I have addressed all of the issues everyone has found up to this
> 
> > point with my most recent commit. If you have any more problems let me know.
> > 
> 
> When running NLBConfig.py I got

> What's wrong ??

Hmm.  It looks like I somehow used a non portable python construct. Because
I can't figure out how to reproduce  the error.

Does this patch help?

--- checkin/freebios/util/config/NLBConfig.py   Wed Aug 15 14:47:07 2001
+++ freebios/util/config/NLBConfig.py   Wed Aug 15 20:25:08 2001
@@ -515,7 +515,8 @@
        keys.sort()
        for key in keys:
                value = makeoptions[key]
-               if re.match("^(0x[0-9a-fA-F]+|0[0-7]+|[0-9]+)$", value):
+               regexp = re.compile(r"^(0x[0-9a-fA-F]+|0[0-7]+|[0-9]+)$")
+               if value and regexp.match(value):
                        file.write("%s = %s;\n" % (key, value))
                
        ldlines = readfile(ldscriptbase)

Eric

Reply via email to