commit | 59dae8ad360d2a13e1e7615c04c29863f7de562b | [log] [tgz] |
---|---|---|
author | Barry Warsaw <barry@python.org> | Fri Aug 17 19:59:34 2001 +0000 |
committer | Barry Warsaw <barry@python.org> | Fri Aug 17 19:59:34 2001 +0000 |
tree | 7c6895f2fff581cba927f7a5a4a717cd03172f16 | |
parent | de642bdc5db10f2ef42dcd75b47faccd0fbee585 [diff] |
decode(): Raise a uu.Error if no out_file is given but the file specified in the uu header already exists. No additional workaround is provided since out_file=pathname is a deprecated interface, so it is better to simply pass a file-like object into out_file anyway. This closes SF bug #438083. Use isinstance() tests instead of type comparisons.