diff options
Diffstat (limited to 'src/hooks.py')
| -rw-r--r-- | src/hooks.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hooks.py b/src/hooks.py index 7ee1334..7582c6e 100644 --- a/src/hooks.py +++ b/src/hooks.py @@ -6,7 +6,7 @@ # By: charles <me@cacharle.xyz> +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2020/09/11 16:10:20 by charles #+# #+# # -# Updated: 2020/09/11 18:26:58 by charles ### ########.fr # +# Updated: 2020/09/11 19:53:43 by charles ### ########.fr # # # # ############################################################################ # @@ -35,6 +35,6 @@ def discard(output): def export_singleton(output): return sort_lines( - '\n'.join([l for l in output.split('\n') - if regex.match("^declare -x .+=\".*\"$", l) is not None]) + '\n'.join([line for line in output.split('\n') + if regex.match("^declare -x .+=\".*\"$", line) is not None]) ) |
