Skip to content

Commit

Permalink
handle .git extension at the end of GitHub URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
tmaybe committed Nov 16, 2015
1 parent eb7eec5 commit 7e453a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions run_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,8 @@ def make_root_github_project_path(path):
'''
path_split = path.split('/')
path = '/'.join(path_split[0:3])
# some URLs have been passed to us with '.git' at the end
path = sub(ur'\.git$', '', path)
return path


Expand Down

0 comments on commit 7e453a5

Please sign in to comment.