]> git.ozlabs.org Git - bitfield/blobdiff - bitfield
Fix syntax error on conf file read
[bitfield] / 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)
 
-       tokens = bnf.parseString(f.read()))
+       tokens = bnf.parseString(f.read())
 
        for tok in tokens:
                ts = tok.asList()