examples: rework imports
Remove unused imports and fix import sorting using isort utility.
This commit is contained in:

committed by
Aleksander Morgado

parent
6107774bb2
commit
16d1cf3318
@@ -18,10 +18,10 @@
|
||||
# Copyright (C) 2014 Aleksander Morgado <aleksander@aleksander.es>
|
||||
#
|
||||
|
||||
import os, sys, gi
|
||||
|
||||
import gi
|
||||
gi.require_version('ModemManager', '1.0')
|
||||
from gi.repository import GLib, GObject, Gio, ModemManager
|
||||
from gi.repository import Gio, GLib, GObject, ModemManager
|
||||
|
||||
|
||||
"""
|
||||
The ModemWatcher class is responsible for monitoring ModemManager
|
||||
|
@@ -18,10 +18,12 @@
|
||||
# Copyright (C) 2014 Aleksander Morgado <aleksander@aleksander.es>
|
||||
#
|
||||
|
||||
import sys, signal
|
||||
import ModemWatcher
|
||||
import signal
|
||||
|
||||
from gi.repository import GLib
|
||||
|
||||
import ModemWatcher
|
||||
|
||||
main_loop = None
|
||||
watcher = None
|
||||
|
||||
|
Reference in New Issue
Block a user