Commits

Anonymous committed 9fe97b7

yeah, yeah.

  • Participants
  • Parent commits a1545cb
  • Branches legacy-trunk

Comments (0)

Files changed (1)

File Lib/dos-8x3/mimetool.py

 	if encoding == 'quoted-printable':
 		import quopri
 		return quopri.decode(input, output)
-	if encoding in ('uuencode', 'x-uuencode'):
+	if encoding in ('uuencode', 'x-uuencode', 'uue', 'x-uue'):
 		import uu
 		return uu.decode(input, output)
 	if decodetab.has_key(encoding):
 	if encoding == 'quoted-printable':
 		import quopri
 		return quopri.encode(input, output, 0)
-	if encoding in ('uuencode', 'x-uuencode'):
+	if encoding in ('uuencode', 'x-uuencode', 'uue', 'x-uue'):
 		import uu
 		return uu.encode(input, output)
 	if encodetab.has_key(encoding):
 decodetab = {
 	'uuencode':		uudecode_pipe,
 	'x-uuencode':		uudecode_pipe,
+	'uue':			uudecode_pipe,
+	'x-uue':		uudecode_pipe,
 	'quoted-printable':	'mmencode -u -q',
 	'base64':		'mmencode -u -b',
 }
 encodetab = {
 	'x-uuencode':		'uuencode tempfile',
 	'uuencode':		'uuencode tempfile',
+	'x-uue':		'uuencode tempfile',
+	'uue':			'uuencode tempfile',
 	'quoted-printable':	'mmencode -q',
 	'base64':		'mmencode -b',
 }