Skip to content
Snippets Groups Projects

gitweb: Remove invalid use of str.rstrip

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).

Merge request reports

Pipeline #4405 passed

Pipeline passed for a0497557 on anlambert:gitweb-remove-invalid-rstrip-use

Merged by Antoine LambertAntoine Lambert 1 year ago (Sep 26, 2023 2:38pm UTC)

Loading

Pipeline #4413 passed

Pipeline passed for a0497557 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading