We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fffd66f commit adbed02Copy full SHA for adbed02
1 file changed
Lib/quopri.py
@@ -1,4 +1,4 @@
1
-#! /usr/bin/python3.6
+#! /usr/bin/env python3
2
3
"""Conversions to/from quoted-printable transport encoding as per RFC 1521."""
4
@@ -204,11 +204,11 @@ def main():
204
print("-t: quote tabs")
205
print("-d: decode; default encode")
206
sys.exit(2)
207
- deco = 0
208
- tabs = 0
+ deco = False
+ tabs = False
209
for o, a in opts:
210
- if o == '-t': tabs = 1
211
- if o == '-d': deco = 1
+ if o == '-t': tabs = True
+ if o == '-d': deco = True
212
if tabs and deco:
213
sys.stdout = sys.stderr
214
print("-t and -d are mutually exclusive")
0 commit comments