[obs-commits] [openSUSE/osc] 9ba0d8: Fix -n / --name flag on importsrcpkg command.
Branch: refs/heads/master Home: https://github.com/openSUSE/osc Commit: 9ba0d8adcd3c3ec18cf467d0ed4b796f632d7439 https://github.com/openSUSE/osc/commit/9ba0d8adcd3c3ec18cf467d0ed4b796f632d7... Author: Matthew D <opensuse@virtual.drop.net> Date: 2020-02-24 (Mon, 24 Feb 2020) Changed paths: M osc/commandline.py Log Message: ----------- Fix -n / --name flag on importsrcpkg command. osc importsrcpkg -n <pacname> does not work. If the option is supplied, osc mistakenly trys to "decode" the pac object. This patch limit the decode call when pac is not a string. Refactored fix based on suggestions from marcus-h Commit: c3e7428631b5444f26433f04c73caa85fb9b076a https://github.com/openSUSE/osc/commit/c3e7428631b5444f26433f04c73caa85fb9b0... Author: Marcus Huewe <suse-tux@gmx.de> Date: 2020-02-26 (Wed, 26 Feb 2020) Changed paths: M osc/commandline.py Log Message: ----------- Merge branch 'master' of https://github.com/matthewdva/osc Fix "osc importsrcpkg --name <name>". Do not try to decode a str. Compare: https://github.com/openSUSE/osc/compare/4e8e0492e8dc...c3e7428631b5
participants (1)
-
Marcus Hüwe