Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: filters/strip_proto.py

Issue 29874607: Issue 6769 - Avoid hardcoding the URL (Closed)
Patch Set: Rebased Created Sept. 24, 2018, 1:37 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « filters/domain.py ('k') | includes/testcases.md » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 def strip_proto(url):
2 return url.split("://", 1)[-1]
OLDNEW
« no previous file with comments | « filters/domain.py ('k') | includes/testcases.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld