diff options
| author | Barry Warsaw | 2014-12-13 10:55:57 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2014-12-13 10:55:57 -0500 |
| commit | 03731dd2d3aac0c9610c3b17d28f6821343fc8ed (patch) | |
| tree | 4b977f3225d355ec42daf312b93b7ab407c827ee /src/mailman/commands/cli_import.py | |
| parent | e3e8b9215abb85b44fce001311332c2f7772e4bd (diff) | |
| download | mailman-03731dd2d3aac0c9610c3b17d28f6821343fc8ed.tar.gz mailman-03731dd2d3aac0c9610c3b17d28f6821343fc8ed.tar.zst mailman-03731dd2d3aac0c9610c3b17d28f6821343fc8ed.zip | |
Diffstat (limited to 'src/mailman/commands/cli_import.py')
| -rw-r--r-- | src/mailman/commands/cli_import.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman/commands/cli_import.py b/src/mailman/commands/cli_import.py index b53faea96..7b18b888c 100644 --- a/src/mailman/commands/cli_import.py +++ b/src/mailman/commands/cli_import.py @@ -77,7 +77,7 @@ class Import21: assert len(args.pickle_file) == 1, ( 'Unexpected positional arguments: %s' % args.pickle_file) filename = args.pickle_file[0] - with open(filename) as fp: + with open(filename, 'rb') as fp: while True: try: config_dict = cPickle.load(fp) |
