Use state.scope.perms instead of intrp.thread.perms()
Use state.scope.perms instead of intrp.thread.perms()

google/CodeCity,NeilFraser/CodeCity,google/CodeCity,NeilFraser/CodeCity,NeilFraser/CodeCity,NeilFraser/CodeCity,google/CodeCity,google/CodeCity