Skip to content

Commit

Permalink
Merge pull request #7060 from fstagni/81_fixes10
Browse files Browse the repository at this point in the history
[8.1] Fixed pyparsing import
  • Loading branch information
fstagni committed Jun 19, 2023
2 parents 5ab42b6 + 713a5e9 commit 621021d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/DIRAC/Resources/Catalog/FCConditionParser.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
Contains the mechanism to evaluate whether to use or not a catalog
"""
from pyparsing import infixNotation, opAssoc, Word, printables, Literal, Suppress
from pyparsing import infix_notation, opAssoc, Word, printables, Literal, Suppress

from DIRAC import S_OK, gLogger
from DIRAC.Core.Utilities.ObjectLoader import ObjectLoader
Expand Down Expand Up @@ -131,7 +131,7 @@ def __str__(self):

# We can combine the pluginOperand with boolean expression,
# and prioritized by squared bracket
__boolExpr = infixNotation(
__boolExpr = infix_notation(
__pluginOperand,
[
("!", 1, opAssoc.RIGHT, _BoolNot),
Expand Down
1 change: 0 additions & 1 deletion src/DIRAC/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,5 @@ def extension_metadata():
"priority": 0,
"setups": {
"DIRAC-Certification": "https://lbcertifdirac70.cern.ch:9135/Configuration/Server",
"DIRAC-CertifOauth": "https://lbcertifdiracoauth.cern.ch:9135/Configuration/Server",
},
}

0 comments on commit 621021d

Please sign in to comment.