[issue17933] test_ftp failure / ftplib error formatting issue
Rock Lee
report at bugs.python.org
Thu Jul 18 17:02:25 CEST 2013
Rock Lee added the comment:
Bug in urllib/request.py.
format string formatted error type variable
2373 except ftplib.error_perm as reason:
2374 raise URLError('ftp error: %d' % reason) from reason
variable reason here is a instance of class ftplib.error_perm.
We need to passed in a integer object.
Patch supplied.
----------
keywords: +patch
nosy: +rock
Added file: http://bugs.python.org/file30967/urllib-request-format-type-bug.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17933>
_______________________________________
More information about the Python-bugs-list
mailing list