-
Committer:
Teddy Hogeborn
-
Date:
2014-07-17 00:49:30 UTC
-
Revision ID:
teddy@recompile.se-20140717004930-tqfjwjvonrtfcr7w
mandos-ctl: Make it work in Python 3.
* mandos-ctl: Tolerate failure of importing future_builtins. If
Python 2, override "str" with "unicode".
(print_clients): Use "str" instead of "unicode".
(main): Use 'type=argparse.FileType(mode="rb")' instead of
'type=file', and use the items() method instead of
iteritems().