/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to mandos-monitor

  • Committer: Teddy Hogeborn
  • Date: 2019-11-03 19:17:57 UTC
  • Revision ID: teddy@recompile.se-20191103191757-1hdpp0u5fxa8iumo
INSTALL: Add "-" argument to "su" invocations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
import dbus
48
48
 
49
49
if sys.version_info.major == 2:
50
 
    __metaclass__ = type
51
50
    str = unicode
52
51
 
53
52
log = logging.getLogger(os.path.basename(sys.argv[0]))
64
63
domain = "se.recompile"
65
64
server_interface = domain + ".Mandos"
66
65
client_interface = domain + ".Mandos.Client"
67
 
version = "1.8.14"
 
66
version = "1.8.9"
68
67
 
69
68
try:
70
69
    dbus.OBJECT_MANAGER_IFACE
89
88
                             int(fraction*1000000))  # Microseconds
90
89
 
91
90
 
92
 
class MandosClientPropertyCache:
 
91
class MandosClientPropertyCache(object):
93
92
    """This wraps a Mandos Client D-Bus proxy object, caches the
94
93
    properties and calls a hook function when any of them are
95
94
    changed.
407
406
        return ret
408
407
 
409
408
 
410
 
class UserInterface:
 
409
class UserInterface(object):
411
410
    """This is the entire user interface - the whole screen
412
411
    with boxes, lists of client widgets, etc.
413
412
    """