From 55ac06acf73c5c2e69043ba73161dd1db6c2c1f9 Mon Sep 17 00:00:00 2001 From: Ewoud Kohl van Wijngaarden Date: Thu, 12 Mar 2020 12:51:25 +0100 Subject: [PATCH] Python 3.8 compatibility --- rules/TaskVariableHasSpace.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/rules/TaskVariableHasSpace.py b/rules/TaskVariableHasSpace.py index e71e4d966..d862eb5b1 100644 --- a/rules/TaskVariableHasSpace.py +++ b/rules/TaskVariableHasSpace.py @@ -8,12 +8,10 @@ class TaskVariableHasSpace(AnsibleLintRule): description = '' tags = ['task'] - compiled = re.compile(ur'{{(\w*)}}') + compiled = re.compile(r'{{(\w*)}}') def match(self, file, text): m = self.compiled.search(text) if m: return True return False - -