1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-13 07:56:14 +01:00
github.com_openSUSE_osc/osc
Frank Schreiner 6c7ad021c8 reset "file current position" on errors
If an error occurs while sending a file to the API (e.g. 401), the io handle
is reused and the current postion is at the end of the file. This results in an
empty value.

This patch takes care that the current file postion gets resetted
if a retransmission is required.
2022-08-18 12:06:06 +00:00
..
util Move format_table to util.helper 2022-08-02 14:45:23 +03:00
__init__.py replace urlgrabber to enable python3 compatibility 2018-10-19 09:31:37 +02:00
.gitignore convert svn:ignore to gitignore 2009-12-03 19:19:53 +01:00
babysitter.py Modernize code with pyupgrade 2022-07-28 19:14:12 +02:00
build.py Fix several undefined-variable issues reported by pylint 2022-07-28 21:01:16 +02:00
checker.py Modernize code with pyupgrade 2022-07-28 19:14:12 +02:00
cmdln.py Replace unmaintained cmdln.py with a custom code 2022-08-12 10:05:59 +02:00
commandline.py Remove duplicated --debug and --verbose options 2022-08-12 10:06:00 +02:00
conf.py Remove duplicated --debug and --verbose options 2022-08-12 10:06:00 +02:00
connection.py reset "file current position" on errors 2022-08-18 12:06:06 +00:00
core.py Remove duplicated --debug and --verbose options 2022-08-12 10:06:00 +02:00
credentials.py Modernize code with pyupgrade 2022-07-28 19:14:12 +02:00
fetch.py Modernize code with pyupgrade 2022-07-28 19:14:12 +02:00
grabber.py Modernize code with pyupgrade 2022-07-28 19:14:12 +02:00
meter.py Modernize code with pyupgrade 2022-07-28 19:14:12 +02:00
OscConfigParser.py Clean imports up, drop python 2 fallbacks 2022-07-28 13:17:43 +02:00
oscerr.py Modernize code with pyupgrade 2022-07-28 19:14:12 +02:00
oscssl.py Switch http_request() to urllib3 2022-07-27 11:15:21 +02:00