summaryrefslogtreecommitdiffstats
path: root/Lib/uu.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-08-17 04:45:13 (GMT)
committerFred Drake <fdrake@acm.org>2000-08-17 04:45:13 (GMT)
commit9b8d801c37fa29420848ebc1b50c601893b36287 (patch)
tree3e21590bf1bc994dc998ae3c7cadffd1e567ad61 /Lib/uu.py
parentde9fec5f99179bfd023177b89238f8aaae98f1f9 (diff)
downloadcpython-9b8d801c37fa29420848ebc1b50c601893b36287.zip
cpython-9b8d801c37fa29420848ebc1b50c601893b36287.tar.gz
cpython-9b8d801c37fa29420848ebc1b50c601893b36287.tar.bz2
Convert some old-style string exceptions to class exceptions.
Diffstat (limited to 'Lib/uu.py')
-rwxr-xr-xLib/uu.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/uu.py b/Lib/uu.py
index 252576d..e39b61b 100755
--- a/Lib/uu.py
+++ b/Lib/uu.py
@@ -35,7 +35,8 @@ import os
import string
import sys
-Error = 'uu.Error'
+class Error(Exception):
+ pass
def encode(in_file, out_file, name=None, mode=None):
"""Uuencode file"""