[obs-commits] [openSUSE/open-build-service] 0b1baf: [frontend] Remove redundant assignment
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 0b1baf236fdce190b92834bb5dc33375dba6ae64 https://github.com/openSUSE/open-build-service/commit/0b1baf236fdce190b92834... Author: Marcus Huewe <suse-tux@gmx.de> Date: 2018-03-22 (Thu, 22 Mar 2018) Changed paths: M src/api/lib/opensuse/permission.rb Log Message: ----------- [frontend] Remove redundant assignment If the "package_change?" method is called and a project parameter is passed, it seems to be a String (I only checked the "obvious" callers by grepping for "package_change?"). Hence, there is no need to do any "conversion" etc. Originally, it was introduced in commit f2b734be14 ("backward compatibility to handle also string arguments"). Commit: 2e92d6b8994c93df9e59989ea200882c99a12f47 https://github.com/openSUSE/open-build-service/commit/2e92d6b8994c93df9e5998... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2018-03-22 (Thu, 22 Mar 2018) Changed paths: M src/api/lib/opensuse/permission.rb Log Message: ----------- Merge pull request #4706 from marcus-h/redundant_assignment [frontend] Remove redundant assignment Compare: https://github.com/openSUSE/open-build-service/compare/f95ebde4a99e...2e92d6...
participants (1)
-
Henne Vogelsang