[obs-commits] [openSUSE/osc] 597ead: fix adding dirs as compressed archive
Branch: refs/heads/master Home: https://github.com/openSUSE/osc Commit: 597eadf2f4efdee3bfb3f09759ba2106ea1fec70 https://github.com/openSUSE/osc/commit/597eadf2f4efdee3bfb3f09759ba2106ea1fe... Author: lethliel <mstrigl@suse.com> Date: 2019-05-14 (Tue, 14 May 2019) Changed paths: M osc/core.py Log Message: ----------- fix adding dirs as compressed archive The content in the todo dict are strings. In python3 the communicate method expects a bytes-like object not a string. Solution: Encode every element in todo to a new dict (enc_todo) and pass this instead of todo Commit: 3266e43164732fa3caa263c2e4a26217ecdca57e https://github.com/openSUSE/osc/commit/3266e43164732fa3caa263c2e4a26217ecdca... Author: Marco Strigl <mstrigl@suse.com> Date: 2019-05-14 (Tue, 14 May 2019) Changed paths: M osc/core.py Log Message: ----------- Merge pull request #551 from lethliel/python3_fix_add_directory [python3] fix adding dirs as compressed archive Compare: https://github.com/openSUSE/osc/compare/53d3cc7bb5ff...3266e4316473
participants (1)
-
Marco Strigl