gitweb: Remove invalid use of str.rstrip
Compare changes
Files
2@@ -138,6 +138,10 @@ def test_lister_gitweb_get_origin_from_repo_failing(
rstrip is not a method to remove a string suffix so use proper Python way to do it.
It fixes the computation of some gitweb origin URLs.
Related to swh/infra/sysadm-environment#5051 (closed).