mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-05 02:56:17 +01:00
2b47be6b1e
The files are now opened as rb for diffing. In python2 nothing changes. In python3 the returned diff is bytes now. The following changes were made: * commandline.py: The returned diff is now bytes * get_diff now returs the diff as a bytes-like object * run_pager writes with sys.stdout.buffer.write if message is not a string * for the commit message the returned diff needs to be decoded now. Otherwise it will just producce garbage. For the commit message the diff on decoded bytes-objects is ok. (nothing harmfull can happen here) * fixed submit_action_diff * fixed request_interactive_review |
||
---|---|---|
.. | ||
util | ||
__init__.py | ||
.gitignore | ||
babysitter.py | ||
build.py | ||
checker.py | ||
cmdln.py | ||
commandline.py | ||
conf.py | ||
core.py | ||
fetch.py | ||
grabber.py | ||
meter.py | ||
OscConfigParser.py | ||
oscerr.py | ||
oscssl.py | ||
oscsslexcp.py |