diff options
author | Clayton Smith <argilo@gmail.com> | 2020-10-12 16:35:17 -0400 |
---|---|---|
committer | Sebastian Koslowski <sebastian.koslowski@gmail.com> | 2020-10-20 15:16:48 +0200 |
commit | ff22625e3b7f745f7398a2c58cb36f7f4f138453 (patch) | |
tree | 7b34c8d555e352283dd5a35a0baf26e31ba71072 /grc/core/params/param.py | |
parent | 272d38407f0a7460b0e3958a8dfeb71dfb342b3e (diff) |
grc: fix pylint C0326: wrong number of spaces
Diffstat (limited to 'grc/core/params/param.py')
-rw-r--r-- | grc/core/params/param.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/grc/core/params/param.py b/grc/core/params/param.py index 841a290b5d..f753683090 100644 --- a/grc/core/params/param.py +++ b/grc/core/params/param.py @@ -193,7 +193,7 @@ class Param(Element): ######################### # ID and Enum types (not evaled) ######################### - if dtype in ('id', 'stream_id','name') or self.is_enum(): + if dtype in ('id', 'stream_id', 'name') or self.is_enum(): if self.options.attributes: expr = attributed_str(expr) for key, value in self.options.attributes[expr].items(): @@ -242,7 +242,7 @@ class Param(Element): # Do not check if file/directory exists, that is a runtime issue try: # Do not evaluate multiline strings (code snippets or comments) - if dtype not in ['_multiline','_multiline_python_external']: + if dtype not in ['_multiline', '_multiline_python_external']: value = self.parent_flowgraph.evaluate(expr) if not isinstance(value, str): raise Exception() |