mandos: Stop using str() and remove unnecessary unicode() calls.
* mandos (if_nametoindex): Use "bytes" literal instead of str(). (initlogger): Use a unicode string for log device. (AvahiError.__unicode__): Removed. (DBusPropertyException.__unicode__): - '' - (ClientDBus.Secret_dbus_property): Use bytes() instead of str(). (IPv6_TCPServer.server_bind): Use .encode() instead of str(). (string_to_delta): Removed unnecessary unicode() call. (main): Use "isinstance(x, bytes)" instead of "type(x) is str", use .decode() instead of unicode(), and use .encode() instead of str().
Watch this directory and add/remove/update clients?
77
69
** TODO Use python-tlslite?
78
70
** TODO D-Bus AddClient() method on server object
79
71
** TODO Use org.freedesktop.DBus.Method.NoReply annotation on async methods. :2:
72
** TODO Emit [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-properties][org.freedesktop.DBus.Properties.PropertiesChanged]] signal :2:
73
TODO Deprecate se.recompile.Mandos.Client.PropertyChanged - annotate!
74
TODO Can use "invalidates" annotation to also emit on changed secret.
80
75
** TODO Support [[http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager][org.freedesktop.DBus.ObjectManager]] interface on server object :2: