projects
/
bitfield
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bb5e25
)
Fix syntax error on conf file read
author
Jeremy Kerr
<jk@ozlabs.org>
Sun, 19 Nov 2006 12:00:43 +0000
(23:00 +1100)
committer
Jeremy Kerr
<jk@ozlabs.org>
Thu, 12 Nov 2009 23:58:39 +0000
(10:58 +1100)
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
bitfield
patch
|
blob
|
history
diff --git
a/bitfield
b/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()