aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-07-02 04:57:30 +0000
committerTim Peters <tim.peters@gmail.com>2001-07-02 04:57:30 +0000
commitd1c296537f78106a1ff4342a9c3722a9b3b7478d (patch)
treefd3c3695568a2911d0e94d62e170d3a07fac08d1 /Lib/quopri.py
parentAdd tentative 2.1.1 Windows build numbers. (diff)
downloadcpython-d1c296537f78106a1ff4342a9c3722a9b3b7478d.tar.gz
cpython-d1c296537f78106a1ff4342a9c3722a9b3b7478d.tar.bz2
cpython-d1c296537f78106a1ff4342a9c3722a9b3b7478d.zip
Whitespace normalization; the plat-riscos file didn't even get by
tabnanny.py.
Diffstat (limited to 'Lib/quopri.py')
-rwxr-xr-xLib/quopri.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/Lib/quopri.py b/Lib/quopri.py
index 7b448bbc561..575fcd11fb4 100755
--- a/Lib/quopri.py
+++ b/Lib/quopri.py
@@ -12,7 +12,7 @@ HEX = '0123456789ABCDEF'
EMPTYSTRING = ''
-
+
def needsquoting(c, quotetabs):
"""Decide whether a particular character needs to be quoted.
@@ -30,7 +30,7 @@ def quote(c):
return ESCAPE + HEX[i/16] + HEX[i%16]
-
+
def encode(input, output, quotetabs):
"""Read 'input', apply quoted-printable encoding, and write to 'output'.
@@ -88,7 +88,7 @@ def encodestring(s, quotetabs=0):
return outfp.getvalue()
-
+
def decode(input, output):
"""Read 'input', apply quoted-printable decoding, and write to 'output'.
@@ -131,7 +131,7 @@ def decodestring(s):
return outfp.getvalue()
-
+
# Other helper functions
def ishex(c):
"""Return true if the character 'c' is a hexadecimal digit."""
@@ -153,7 +153,7 @@ def unhex(s):
return bits
-
+
def main():
import sys
import getopt
@@ -197,6 +197,6 @@ def main():
sys.exit(sts)
-
+
if __name__ == '__main__':
main()