Fix syntax error on conf file read
authorJeremy Kerr <jk@ozlabs.org>
Sun, 19 Nov 2006 12:00:43 +0000 (23:00 +1100)
committerJeremy Kerr <jk@ozlabs.org>
Thu, 12 Nov 2009 23:58:39 +0000 (10:58 +1100)
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
bitfield

index 359e96d7cc8bd04b50688c6092fc4e06208d085d..73f41ff7b5cb2e2d56afaae87961863228f7b3e7 100644 (file)
--- a/bitfield
+++ b/bitfield
@@ -112,7 +112,7 @@ class ConfigurationError(Exception):
 def parse_config(bnf, regs, file):
        f = open(file)
 
 def parse_config(bnf, regs, file):
        f = open(file)
 
-       tokens = bnf.parseString(f.read()))
+       tokens = bnf.parseString(f.read())
 
        for tok in tokens:
                ts = tok.asList()
 
        for tok in tokens:
                ts = tok.asList()