(pipe)
| 78 | |
| 79 | |
| 80 | def watched_sequence(pipe): |
| 81 | current_path = pipe.get("shellpath") |
| 82 | new_path = current_path + ":/usr/mycmds/" |
| 83 | |
| 84 | pipe.multi() |
| 85 | |
| 86 | pipe.set("shellpath", new_path) |
| 87 | |
| 88 | |
| 89 | trans_result = r.transaction(watched_sequence, "shellpath") |