/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

  • Committer: teddy at bsnet
  • Date: 2011-02-13 10:17:16 UTC
  • mto: (237.7.13 mandos)
  • mto: This revision was merged to the branch mainline in revision 282.
  • Revision ID: teddy@fukt.bsnet.se-20110213101716-987z5189e9x1jtad
* mandos: Use unicode string literals.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
# Contact the authors at <mandos@fukt.bsnet.se>.
32
32
33
33
 
34
 
from __future__ import division, absolute_import, unicode_literals
 
34
from __future__ import (division, absolute_import, print_function,
 
35
                        unicode_literals)
35
36
 
36
37
import SocketServer as socketserver
37
38
import socket
2037
2038
        sys.exit(1)
2038
2039
    except KeyboardInterrupt:
2039
2040
        if debug:
2040
 
            print >> sys.stderr
 
2041
            print("", file=sys.stderr)
2041
2042
        logger.debug("Server received KeyboardInterrupt")
2042
2043
    logger.debug("Server exiting")
2043
2044
    # Must run before the D-Bus bus name gets deregistered