From 1b6127d1bcf66fd7304fe894a6933ad2ffe0092c Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Fri, 15 Jun 2018 14:42:11 +0200 Subject: examples/python: utilize nm_utils_get_timestamp_msec() --- examples/python/gi/checkpoint.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/python/gi/checkpoint.py b/examples/python/gi/checkpoint.py index 7c36cdba57..50e7c33532 100755 --- a/examples/python/gi/checkpoint.py +++ b/examples/python/gi/checkpoint.py @@ -19,8 +19,6 @@ gi.require_version('NM', '1.0') from gi.repository import GLib, NM import os -os.sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) -import nmex ############################################################################### @@ -162,7 +160,7 @@ def do_adjust_rollback_timeout(client): client.checkpoint_adjust_rollback_timeout(path, add_timeout, None, adjust_rollback_timeout_cb, None) def do_show(client): - ts = nmex.nm_boot_time_ms() + ts = NM.utils_get_timestamp_msec() for c in client.get_checkpoints(): show(c, ts) -- cgit v1.2.1