summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xhwdb.d/ids_parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/hwdb.d/ids_parser.py b/hwdb.d/ids_parser.py
index 811c12559b..ed2c615508 100755
--- a/hwdb.d/ids_parser.py
+++ b/hwdb.d/ids_parser.py
@@ -20,7 +20,7 @@ COMMENTLINE = pythonStyleComment + EOL
EMPTYLINE = LineEnd()
text_eol = lambda name: Regex(r'[^\n]+')(name) + EOL
-ParserElement.set_default_whitespace_chars(' \n')
+ParserElement.setDefaultWhitespaceChars(' \n')
def klass_grammar():
klass_line = Literal('C ').suppress() + NUM2('klass') + text_eol('text')