summaryrefslogtreecommitdiff
path: root/cinder_pyparsing.patch
diff options
context:
space:
mode:
Diffstat (limited to 'cinder_pyparsing.patch')
-rw-r--r--cinder_pyparsing.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/cinder_pyparsing.patch b/cinder_pyparsing.patch
new file mode 100644
index 0000000..0cd691f
--- /dev/null
+++ b/cinder_pyparsing.patch
@@ -0,0 +1,13 @@
+diff --git a/cinder/scheduler/evaluator/evaluator.py b/cinder/scheduler/evaluator/evaluator.py
+index 435c5b1..ea92795 100644
+--- a/cinder/scheduler/evaluator/evaluator.py
++++ b/cinder/scheduler/evaluator/evaluator.py
+@@ -236,7 +236,7 @@ def _def_parser():
+
+ oneOf = pyparsing.oneOf
+ opAssoc = pyparsing.opAssoc
+- operatorPrecedence = pyparsing.operatorPrecedence
++ operatorPrecedence = pyparsing.infixNotation
+ Word = pyparsing.Word
+
+ integer = Word(nums)