[obs-commits] [openSUSE/osc2] 962ec8: - cli.cli: added at_most decorator
Branch: refs/heads/master Home: https://github.com/openSUSE/osc2 Commit: 962ec8276a1ab0ea2ae19e10fc7bb0605719128f https://github.com/openSUSE/osc2/commit/962ec8276a1ab0ea2ae19e10fc7bb0605719... Author: Marcus Huewe <suse-tux@gmx.de> Date: 2014-11-29 (Sat, 29 Nov 2014) Changed paths: M osc2/cli/cli.py Log Message: ----------- - cli.cli: added at_most decorator Decorator, which checks that certain args are specified at most n times. If an arg from args occurs more than n times in the info object, a ValueError is raised. Commit: 3acf01d540581f4655c64f4c6b925c3afcfcfe8d https://github.com/openSUSE/osc2/commit/3acf01d540581f4655c64f4c6b925c3afcfc... Author: Marcus Huewe <suse-tux@gmx.de> Date: 2014-11-29 (Sat, 29 Nov 2014) Changed paths: M osc2/cli/cli.py Log Message: ----------- - cli._init: warn if multiple (distinct) apiurls are used This is currently not supported, but it will be in the future. Compare: https://github.com/openSUSE/osc2/compare/5f291be12c08...3acf01d54058
participants (1)
-
Marcus Huewe