commit 312ec01919f471ffb164b91fd991a3d706d5cb31 parent 5c21ca0dda92fac5aecd84e3fa67b4d33462e70f Author: Florian Dold <florian.dold@gmail.com> Date: Fri, 4 Mar 2016 16:22:39 +0100 add rebuild monitoring Diffstat:
| A | monitor-rebuild | | | 14 | ++++++++++++++ |
1 file changed, 14 insertions(+), 0 deletions(-)
diff --git a/monitor-rebuild b/monitor-rebuild @@ -0,0 +1,14 @@ +#!/usr/bin/python3 + +import sys + + +while True: + f = open(sys.argv[1]) + + while True: + x = f.readline() + if not x: + break + print("got line:", x) +