diff options
| author | Philipp Hahn <hahn@univention.de> | 2018-09-21 15:34:57 +0200 |
|---|---|---|
| committer | Michal Privoznik <mprivozn@redhat.com> | 2018-09-24 09:05:59 +0200 |
| commit | 5a7a871961cbf372661bc04dad1f94d5782ddb3a (patch) | |
| tree | 59c3f7041a72016ca20f5e3a4a04472c561feaa8 /examples | |
| parent | 77e700c501ce31072b0dd065f405a3d77e5c6634 (diff) | |
| download | libvirt-python-5a7a871961cbf372661bc04dad1f94d5782ddb3a.tar.gz | |
event-test.py: Remove extra parenthesis
Signed-off-by: Philipp Hahn <hahn@univention.de>
Diffstat (limited to 'examples')
| -rwxr-xr-x | examples/event-test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/event-test.py b/examples/event-test.py index c17d2bb..a7c7054 100755 --- a/examples/event-test.py +++ b/examples/event-test.py @@ -224,7 +224,7 @@ class virEventLoopPoll: want = t.get_last_fired() + interval # Deduct 20ms, since scheduler timeslice # means we could be ever so slightly early - if now >= (want-20): + if now >= want - 20: debug("Dispatch timer %d now %s want %s" % (t.get_id(), str(now), str(want))) t.set_last_fired(now) t.dispatch() |
