updating; switching to desktop
This commit is contained in:
parent
8ee5137059
commit
b889d17581
@ -1,4 +1,5 @@
|
||||
import ipaddress
|
||||
import uuid
|
||||
##
|
||||
from . import _common
|
||||
|
||||
@ -14,6 +15,7 @@ class Connection(object):
|
||||
self.addrs = {'ipv4': [],
|
||||
'ipv6': []}
|
||||
self.resolvers = []
|
||||
self.uuid = uuid.uuid4()
|
||||
self._initAddrs()
|
||||
self._initResolvers()
|
||||
|
||||
|
@ -2,4 +2,8 @@ libblockdev/python gobject-introspection ("gi") API reference:
|
||||
https://lazka.github.io/pgi-docs/
|
||||
|
||||
example of using above for LVM:
|
||||
https://github.com/storaged-project/libblockdev/blob/master/tests/lvm_test.py
|
||||
https://github.com/storaged-project/libblockdev/blob/master/tests/lvm_test.py
|
||||
|
||||
|
||||
using libnm with pygobject-introspection examples:
|
||||
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/blob/master/examples/python/gi/
|
||||
|
Loading…
Reference in New Issue
Block a user