Please sign in to comment.
utils: Fix a bug in strip_one()
If the path doesn't have a '/' then it can't access the index 1. Handle it by returning path.split('/',1)[-1] instead of . Signed-off-by: Karthik Manamcheri <email@example.com> Signed-off-by: David Aguilar <firstname.lastname@example.org>
- Loading branch information...