From d3e8679e057e69a0b307ba1f912f818c734c63c7 Mon Sep 17 00:00:00 2001 From: Jerzy Drozdz Date: Thu, 8 Mar 2018 19:49:26 +0100 Subject: [PATCH] Removed regex compilation --- salt/modules/file.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/salt/modules/file.py b/salt/modules/file.py index fd127dbb74..f8bae61000 100644 --- a/salt/modules/file.py +++ b/salt/modules/file.py @@ -1763,8 +1763,7 @@ def _set_line_indent(src, line, indent): def _get_eol(line): - compiled = re.compile('((?