/mandos/release

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

« back to all changes in this revision

Viewing changes to mandos

merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
# and some lines in "main".
12
12
13
13
# Everything else is
14
 
# Copyright © 2008 Teddy Hogeborn
15
 
# Copyright © 2008 Björn Påhlsson
 
14
# Copyright © 2008,2009 Teddy Hogeborn
 
15
# Copyright © 2008,2009 Björn Påhlsson
16
16
17
17
# This program is free software: you can redistribute it and/or modify
18
18
# it under the terms of the GNU General Public License as published by
1046
1046
                              use_dbus = use_dbus)
1047
1047
                       for section in client_config.sections()))
1048
1048
    if not clients:
1049
 
        logger.critical(u"No clients defined")
1050
 
        sys.exit(1)
 
1049
        logger.warning(u"No clients defined")
1051
1050
    
1052
1051
    if debug:
1053
1052
        # Redirect stdin so all checkers get /dev/null
1136
1135
                        self.ClientRemoved(object_path)
1137
1136
                        return
1138
1137
                raise KeyError
 
1138
            @dbus.service.method(_interface)
 
1139
            def Quit(self):
 
1140
                main_loop.quit()
1139
1141
 
1140
1142
            del _interface
1141
1143