summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xexamples/python/gi/checkpoint.py4
1 files changed, 1 insertions, 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)