Lines Matching defs:state
138 if self.pd.state == plandesc.UNEVALUATED:
144 if self.pd.state < plandesc.EVALUATED_PKGS:
166 assert plan.state in [
178 if self.pd.state == plandesc.UNEVALUATED:
199 assert self.pd.state in \
201 "{0} not in [{1}, {2}]".format(self.pd.state,
204 if self.pd.state == plandesc.PREEXECUTED_OK:
216 self.pd.state = plandesc.PREEXECUTED_OK
219 def state(self):
220 return self.pd.state
258 every planning operation to ensure final plan state is set and
262 pd.state = pdstate
356 variant state for image."""
1395 self.pd.state = plandesc.EVALUATED_PKGS
1975 self.pd.state = plandesc.EVALUATED_PKGS
1993 assert self.state >= plandesc.MERGED_OK
1998 assert self.pd.state >= plandesc.MERGED_OK
2003 assert self.pd.state >= plandesc.MERGED_OK
2023 assert self.pd.state >= plandesc.EVALUATED_PKGS
2035 assert self.pd.state >= plandesc.EVALUATED_PKGS
2045 assert self.pd.state >= plandesc.EVALUATED_PKGS
2084 assert self.pd.state >= plandesc.EVALUATED_PKGS
2117 assert self.pd.state >= plandesc.EVALUATED_PKGS
2213 # If we still end up in a broken state, signal the
2222 # If we end up in a sane state, signal the caller that
2281 # If we still end up in a broken state, signal the
2288 # If we end up in a sane state, signal the caller that
3211 assert self.state >= plandesc.MERGED_OK
3231 # actions based on the destination file state.
3464 assert self.state >= plandesc.MERGED_OK
3486 # Include state directory in cbytes_added for now since it's
3488 # amount is used because image state update involves using
3489 # a complete copy of existing state.)
3515 assert self.pd.state == plandesc.EVALUATED_PKGS, self
4073 "linked", "lost+found", "publisher", "ssl", "state"
4251 self.pd.state = plandesc.MERGED_OK
4629 self.pd.state = plandesc.EVALUATED_OK
4634 if self.pd.state in [plandesc.EVALUATED_PKGS,
4641 elif self.pd.state >= plandesc.EVALUATED_OK:
4646 assert 0, "Shouldn't call nothingtodo() for state = {0:d}".format(
4647 self.pd.state)
4655 assert self.pd.state == plandesc.EVALUATED_OK
4661 self.pd.state = plandesc.PREEXECUTED_ERROR
4665 self.pd.state = plandesc.PREEXECUTED_OK
4805 self.pd.state = plandesc.PREEXECUTED_ERROR
4808 self.pd.state = plandesc.PREEXECUTED_OK
4823 assert self.pd.state == plandesc.PREEXECUTED_OK
4829 self.pd.state = plandesc.EXECUTED_ERROR
4897 self.pd.state = plandesc.EXECUTED_OK
4903 # It's necessary to do this check here because the state of the
4910 # client isn't left with invalid state.
5013 # save package state
5059 self.pd.state = plandesc.EXECUTED_ERROR
5078 self.pd.state = plandesc.EXECUTED_ERROR
5098 self.pd.state = plandesc.EXECUTED_OK
5141 # state will become confused.
5853 # Construct references again to match final state