Skip to content

Commit d0cc086

Browse files
committed
fix: fixed pyparsing import
1 parent 28d685f commit d0cc086

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/DIRAC/Resources/Catalog/FCConditionParser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
Contains the mechanism to evaluate whether to use or not a catalog
33
"""
4-
from pyparsing import infixNotation, opAssoc, Word, printables, Literal, Suppress
4+
from pyparsing import infix_notation, opAssoc, Word, printables, Literal, Suppress
55

66
from DIRAC import S_OK, gLogger
77
from DIRAC.Core.Utilities.ObjectLoader import ObjectLoader
@@ -131,7 +131,7 @@ def __str__(self):
131131

132132
# We can combine the pluginOperand with boolean expression,
133133
# and prioritized by squared bracket
134-
__boolExpr = infixNotation(
134+
__boolExpr = infix_notation(
135135
__pluginOperand,
136136
[
137137
("!", 1, opAssoc.RIGHT, _BoolNot),

0 commit comments

Comments
 (0)