equal
deleted
inserted
replaced
162 |
162 |
163 if code == "error": |
163 if code == "error": |
164 raise IOError(d["generic"], data) |
164 raise IOError(d["generic"], data) |
165 |
165 |
166 elif code == "stat": |
166 elif code == "stat": |
167 if d.get("action") == "purge": |
167 action = d.get("action") |
|
168 if action in ["purge", "delete", "move/delete"]: |
168 return None, None |
169 return None, None |
169 p4type = self.re_type.match(d["type"]) |
170 p4type = self.re_type.match(d["type"]) |
170 if p4type: |
171 if p4type: |
171 mode = "" |
172 mode = "" |
172 flags = (p4type.group(1) or "") + (p4type.group(3) or "") |
173 flags = (p4type.group(1) or "") + (p4type.group(3) or "") |