Skip to content

Commit 8f87334

Browse files
author
Bogdan Marinescu
committed
Remove redundant whitespaces
1 parent abf9850 commit 8f87334

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tools/config.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def remove_features(self, features):
233233
# Remove features from the available features
234234
def add_features(self, features):
235235
for feature in features:
236-
if (feature in self.removed_features
236+
if (feature in self.removed_features
237237
or (self.removed_unecessary_features and feature not in self.added_features)):
238238
raise ConfigException("Configuration conflict. Feature %s both added and removed." % feature)
239239

@@ -273,7 +273,7 @@ def _process_config_and_overrides(self, data, params, unit_name, unit_kind):
273273
if full_name in params:
274274
params[full_name].set_value(v, unit_name, unit_kind, label)
275275
else:
276-
self.config_errors.append(ConfigException("Attempt to override undefined parameter '%s' in '%s'"
276+
self.config_errors.append(ConfigException("Attempt to override undefined parameter '%s' in '%s'"
277277
% (full_name, ConfigParameter.get_display_name(unit_name, unit_kind, label))))
278278
return params
279279

@@ -396,7 +396,7 @@ def validate_config(self):
396396
raise self.config_errors[0]
397397
return True
398398

399-
399+
400400
# Loads configuration data from resources. Also expands resources based on defined features settings
401401
def load_resources(self, resources):
402402
# Update configuration files until added features creates no changes
@@ -418,7 +418,7 @@ def load_resources(self, resources):
418418
self.validate_config()
419419

420420
return resources
421-
421+
422422

423423
# Return the configuration data converted to the content of a C header file,
424424
# meant to be included to a C/C++ file. The content is returned as a string.

0 commit comments

Comments
 (0)