]> git.ipfire.org Git - pakfire.git/commitdiff
client: Actually refresh data when watching builds/jobs
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 2 Dec 2016 10:45:14 +0000 (11:45 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 2 Dec 2016 10:45:14 +0000 (11:45 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/cli.py

index 0099d74bb74b1c094faa9dd9388e8781d79de26e..9bb3aec6f9eecd90598e4245925e17388cebeeae 100644 (file)
@@ -977,6 +977,9 @@ class CliClient(Cli):
 
                        time.sleep(60)
 
+                       # Update data before the next loop is shown
+                       o.refresh()
+
 
 class CliDaemon(Cli):
        def __init__(self):