Skip to content

Commit

Permalink
3.8 support
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner authored Jan 20, 2024
1 parent 128c974 commit a9ddbcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cherry_picker/cherry_picker.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def username(self):
cmd = ["git", "config", "--get", f"remote.{self.pr_remote}.url"]
result = self.run_cmd(cmd, required_real_result=True)
# implicit ssh URIs use : to separate host from user, others just use /
username = result.replace(":", "/").removesuffix("/").split("/")[-2]
username = result.replace(":", "/").rstrip("/").split("/")[-2]
return username

def get_cherry_pick_branch(self, maint_branch):
Expand Down

0 comments on commit a9ddbcd

Please sign in to comment.