Browse code

Fix identation.

Fixes https://github.com/jrfonseca/xdot.py/issues/73

Jose Fonseca authored on 04/01/2020 11:41:20
Showing 1 changed files

... ...
@@ -54,11 +54,11 @@ class Scanner:
54 54
         flags = re.DOTALL
55 55
         if self.ignorecase:
56 56
             flags |= re.IGNORECASE
57
-            self.tokens_re = re.compile(
58
-                b'|'.join([b'(' + regexp + b')'
59
-                           for type, regexp, test_lit in self.tokens]),
60
-                flags
61
-            )
57
+        self.tokens_re = re.compile(
58
+            b'|'.join([b'(' + regexp + b')'
59
+                       for type, regexp, test_lit in self.tokens]),
60
+            flags
61
+        )
62 62
 
63 63
     def next(self, buf, pos):
64 64
         if pos >= len(buf):