summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2019-09-10 12:50:58 -0400
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2019-09-14 14:58:06 -0400
commit37946242391b530d01da277918e4531f3855c875 (patch)
tree54f3a0cf95bf630249592d0cea3aa44ba1e64c21
parentd79249f2b04d3f75b5cd7fbfe2cdcbddd25411f1 (diff)
downloadmailscripts-37946242391b530d01da277918e4531f3855c875.tar.gz
move printmimestructure to python3, dropping py2 compatibility
Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
-rwxr-xr-xprintmimestructure5
1 files changed, 1 insertions, 4 deletions
diff --git a/printmimestructure b/printmimestructure
index 70e0a5c..49e7208 100755
--- a/printmimestructure
+++ b/printmimestructure
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Author: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
@@ -15,12 +15,9 @@
# └─╴application/pgp-signature inline [signature.asc] 836 bytes
# 0 dkg@alice:~$
-
# If you want to number the parts, i suggest piping the output through
# something like "cat -n"
-from __future__ import print_function
-
import email
import sys