Lines Matching refs:pred
16 def splitUp(pred):
21 res = re_splitComparison.match(pred)
23 raise ValueError("bad package restriction syntax: %r" % pred)
100 # pred: list of (comparison string, StrictVersion)
115 self.pred = [splitUp(aPred) for aPred in str.split(",")]
116 if not self.pred:
120 self.pred = []
123 if self.pred:
124 seq = [cond + " " + str(ver) for cond, ver in self.pred]
134 for cond, ver in self.pred: