From 3b41368da8dbcf4d797bdd6a19104e39c092161d Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Thu, 11 Jun 2015 01:09:14 +0200 Subject: Blank line nits. --- kconfiglib.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'kconfiglib.py') diff --git a/kconfiglib.py b/kconfiglib.py index 74856c2..f945ebd 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -835,11 +835,9 @@ class Config(object): def _parse_factor(self, feed): if feed.check(T_OPEN_PAREN): expr_parse = self._parse_expr_2(feed) - if not feed.check(T_CLOSE_PAREN): _parse_error(self._line, "missing end parenthesis.", self._filename, self._linenr) - return expr_parse if feed.check(T_NOT): @@ -960,7 +958,6 @@ class Config(object): kconfig_file = tokens.get_next() exp_kconfig_file = self._expand_sym_refs(kconfig_file) f = os.path.join(self.base_dir, exp_kconfig_file) - if not os.path.exists(f): raise IOError('{0}:{1}: sourced file "{2}" (expands to ' '"{3}") not found. Perhaps base_dir ' -- cgit v1.2.3