diff --git a/osc/core.py b/osc/core.py index 9c91782b..0d32223d 100644 --- a/osc/core.py +++ b/osc/core.py @@ -1793,7 +1793,7 @@ rev: %s self.write_deletelist() elif state == 'C': self.clear_from_conflictlist(filename) - elif state == 'A' or state == 'R': + elif state in ('A', 'R'): self.to_be_added.remove(filename) self.write_addlist()