mrenouf / python-networkmanager

Python interface to NetworkManager via DBus and CLI config tool
8 stars 3 forks source link

Classes are all borked #3

Open Daenyth opened 14 years ago

Daenyth commented 14 years ago

Settings* should inherit from dbus.Dict/Array/String/Foo and Connections can be defined using composition of the required settings. This will remove the %types cruft all over the codebase. The DeviceType enum can go as well, I think, with the right attributes on Device

Daenyth commented 14 years ago

Might also be able to use collections.namedtuple