wip
This commit is contained in:
1 parent
48712e3129
commit
5335a9c14f
2 files changed
+29
-29
No files matched your search
+1
-1
@@ -331,7 +331,7 @@ def _decide(payload):
|
||||
own = _own_changed(sess, sid, cwd, top, attr)
|
||||
own_floor, own_reasons = risk.assess(own, diff_text=_diff_text(project, sess.get("head")),
|
||||
patterns=risk.load_patterns(project))
|
||||
claimed = c is not None and _claims_unit(sess, path)
|
||||
claimed = c is not None and (attr is None or _claims_unit(sess, path)) # no transcript: every change is ours
|
||||
if own_floor == "trivial" and not claimed and not (c is not None and sess.get("last_unit") == c.get("id")):
|
||||
return stop.allow(cwd) # documentation and the like, or nothing of this session's: nothing is asked
|
||||
if c is not None:
|
||||
|
||||
Reference in new issue
Block a user