diff options
Diffstat (limited to 'src/sbin/bcfg2-info')
-rwxr-xr-x | src/sbin/bcfg2-info | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/sbin/bcfg2-info b/src/sbin/bcfg2-info index 0d166bfdc..2b079a4e1 100755 --- a/src/sbin/bcfg2-info +++ b/src/sbin/bcfg2-info @@ -37,10 +37,7 @@ class infoCore(cmd.Cmd, Bcfg2.Server.Core.Core): raise SystemExit(1) self.prompt = '> ' self.cont = True - i = 0 - while self.fam.Service() or i < 10: - i += 1 - time.sleep(0.1) + self.fam.handle_events_in_interval(10) def do_loop(self): self.cont = True |