Fix raw parser after merge :(

pull/37/head
Andrew Krasichkov 2017-05-13 14:18:14 +03:00
parent 885485e7dc
commit 0317b39c95
1 changed files with 1 additions and 4 deletions

View File

@ -22,14 +22,11 @@ class RawParser(object):
"""
A class that parses nginx configuration with pyparsing
"""
def __init__(self):
self._if_fixer = re.compile(r'(if\s.+)\)\)(\s*\{)?$', flags=re.MULTILINE)
def parse(self, data):
"""
Returns the parsed tree.
"""
return self.script.parseString(data, parseAll=True)
@cached_property