examples: remove unused imports from python examples

This commit is contained in:
Thomas Haller
2020-05-06 23:16:34 +02:00
parent a5614dc469
commit 41a7a26259
12 changed files with 7 additions and 13 deletions

View File

@@ -4,7 +4,7 @@
# Copyright (C) 2010 Red Hat, Inc.
#
import dbus, sys
import dbus
# This example takes a device interface name as a parameter and tells
# NetworkManager to disconnect that device, closing down any network

View File

@@ -4,7 +4,7 @@
# Copyright (C) 2011 - 2012 Red Hat, Inc.
#
import dbus, sys
import dbus
# This example lists basic information about network interfaces known to NM

View File

@@ -11,7 +11,7 @@
# https://developer.gnome.org/NetworkManager/1.0/ref-settings.html
#
import dbus, sys, time
import dbus, sys
bus = dbus.SystemBus()
service_name = "org.freedesktop.NetworkManager"