From 11ccaf9860d15919d9491d69a381e8625f78cc71 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Mon, 10 Dec 2012 16:14:52 +0100 Subject: Remove some semicolons. --- kconfiglib.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kconfiglib.py b/kconfiglib.py index 756c6c6..e72f828 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -904,7 +904,7 @@ class Config(): res (default: None) -- The _Block to add items to. If None, a new _Block is created to hold the items.""" - block = _Block() if res is None else res; + block = _Block() if res is None else res filename = line_feeder.get_filename() @@ -2033,7 +2033,7 @@ sym_chars = frozenset(string.ascii_letters + string.digits + "._/-") # Characters that might be the first significant character on a line. Other # characters are ignored at the beginning of a line. -command_chars = frozenset(string.ascii_letters + string.digits + "_"); +command_chars = frozenset(string.ascii_letters + string.digits + "_") # Regular expressions for parsing .config files set_re = re.compile(r"CONFIG_(\w+)=(.*)") -- cgit v1.2.3